美文网首页
Reveal的使用与破解

Reveal的使用与破解

作者: 博BlingBing | 来源:发表于2016-07-01 18:36 被阅读73次

    1、pause program execution

    第一步.png

    2、expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void )dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2) : ((void)0)

    第二步.png

    3、expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];

    第三步.png

    两条命令顺利的话,控制台则会打印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

    打开reveal即可看到.png
    • 破解

    rm ~/Library/Preferences/com.ittybittyapps.Reveal.plist
    终端输入,上面的命令。继续使用30天

    相关文章

      网友评论

          本文标题:Reveal的使用与破解

          本文链接:https://www.haomeiwen.com/subject/jatqjttx.html