1.Reveal4.0 破解版下载地址
2.Reveal4.0 界面
3.利用Xcode的Breakpoint 断点加载Reveal Server
打开Xcode选择 View → Navigators → Show Breakpoint Navigator.
在左侧导航面板底部点击 + 按钮 选择Symbolic Breakpoint.
3.配置Symbol Breakpoint
- 在Symbol输入框 填上
UIApplicationMain
- 点击 Add Action 按钮, 设置为 Debugger Command.状态
- 在下面文本框中复制粘贴下面代码:
expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void *)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework/RevealServer", 0x2) : ((void*)0)
- 勾选 Automatically continue after evaluating actions.
4.右键当前断点,选择Move Breakpoint To → User.
4.运行项目
打开Reveal,Xcode运行项目就可以在Reveal中看到调试的项目了
注意:一定要开启断点,不然不会在Reveal中显示
希望能帮到你们!