1、pause program execution
2、expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void )dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2) : ((void)0)
3、expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];
两条命令顺利的话,控制台则会打印INFO: Reveal Server started (Protocol Version 25).这条信息。
设置自定义使用reveal命令
command alias wb_reveal_load expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void )dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2) : ((void)0)
command alias wb_reveal_start expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];
以后再次为项目设置依次输入
wb_reveal_load
wb_reveal_start
- 破解
rm ~/Library/Preferences/com.ittybittyapps.Reveal.plist
终端输入,上面的命令。继续使用30天