xcode10中旧版reveal无法使用解决方法

升级Xcode10时没有更新到最新版的Reveal会报这个错误,

1
error: target x86_64-apple-ios10.0.0 is not supported by Reveal Server.

记录一下升级Xcode10时没有更新到最新版的Reveal的同学可以修改一下这里,更改原来断点命令reveal load 为

1
expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void *)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework/RevealServer", 0x2) : ((void*)0)

这里需要注意一下,如果应用里有多个Reveal,要记得改为最新的,我的应用里就是Reveal-2

参考自Reveal官网解答: 地址