打开reveal应用,点击状态栏的Help,选择Integration Guide,获取当前版本的集成指南

help
以版本4为例,在Xcode中添加Symbolic Breakpoint断点,Symbol为UIApplicationMain,点击Add Action,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

Screen Shot 2018-06-05 at 18.39.08.png

Screen Shot 2018-06-05 at 18.39.27.png

Screen Shot 2018-06-05 at 18.40.05.png
到此完成了通过断点设置reveal,其他方法包括CocoaPod与链接Framework等可根据指南进行设置。