reveal 安装
1. 下载 Reveal 之后点击 Help 的 Install Debugger Commands...
2. 添加一个 Symbolic Breakpoint

3. 按照图片填写信息 -> UIApplicationMain -> reveal load,记得勾选最下方的automatic

4. 按照图片再来一个move

5. 接下来就Ok了,运行模拟器,然后打开reveal会看见左上角的图标,点开就可以调试了,666
OK,假如想在真机上面玩,怎么办呢?
点击Build Phaser 添加 New Run Script Phase 命名为 Integrate Reveal Server , 拷贝以下内容
REVEAL_APP_PATH=$(mdfind kMDItemCFBundleIdentifier="com.ittybittyapps.Reveal2" | head -n 1)
BUILD_SCRIPT_PATH="${REVEAL_APP_PATH}/Contents/SharedSupport/Scripts/reveal_server_build_phase.sh"
if [ "${REVEAL_APP_PATH}" -a -e "${BUILD_SCRIPT_PATH}" ]; then
"${BUILD_SCRIPT_PATH}"
else
echo "Reveal Server not loaded: Cannot find a compatible Reveal app."
fi

tips : 在有些时候 (比如关电脑再打开xcode) 在控制台会打印出 error: 'reveal' is not a valid command. , 这种情况请执行第一步的 Install Debugger Commands,666
另外分享给大家一篇reveal使用的文章 : reveal使用