美文网首页
Reveal 2.x配置方法

Reveal 2.x配置方法

作者: 61XIN | 来源:发表于2017-04-06 11:20 被阅读0次

附带两个版本的下载地址

Reveal1.6.3: http://www.sdifenzhou.com/reveal163.html
Reveal4: http://www.sdifenzhou.com/reveal4.html

首先回顾一下1.x的配置方法

vim ~/.lldbinit
复制下面这段:
command alias reveal_load_sim expr (void*)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2);

command alias reveal_load_dev expr (void)dlopen([(NSString)[(NSBundle*)[NSBundle mainBundle] pathForResource:@"libReveal" ofType:@"dylib"] cStringUsingEncoding:0x4], 0x2);

command alias reveal_start expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];

command alias reveal_stop expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStop" object:nil];

ps:vim的退出方法,按 esc 后输入 :wq 保存退出

2.x配置方法

2.x以及以上的dylib被改成了framework,所以需要改下路径名
command alias reveal_load_sim expr (void*)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework/RevealServer", 0x2);

command alias reveal_load_dev expr (void)dlopen([(NSString)[(NSBundle*)[NSBundle mainBundle] pathForResource:@"libReveal" ofType:@"dylib"] cStringUsingEncoding:0x4], 0x2);

command alias reveal_start expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];

command alias reveal_stop expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStop" object:nil];

具体就是第一条中 libReveal.dylib 变成了 RevealServer.framework/RevealServer。
第二条估计也不能用了,需要用reveal_load_dev的可以自己试一下(我从来没用过,所以需要你自己来试下了)
reveal_start,reveal_stop与这个无关,所以还是能正常使用。

参考:
http://blog.csdn.net/yongyinmg/article/details/39293015
reveal本地文件:file:///Applications/Reveal.app/Contents/SharedSupport/Documentation/Load%20Reveal%20Without%20Changing%20Your%20Xcode%20Project.html

相关文章

  • Reveal 2.x配置方法

    附带两个版本的下载地址 Reveal1.6.3: http://www.sdifenzhou.com/revea...

  • 八 iOS逆向-Reveal

    Reveal简介 Reveal环境配置 Reveal使用实例 一 Reveal简介 官网:https://reve...

  • Reveal的那些事儿

    Reveal软件的下载 Reveal的项目配置

  • reveal 4 for xcode 8 2017 reveal

    冬天时用reveal还是1.X版本。这周发现已经出来reveal 4了,用原来的方法配置已经失效了。书归正传: s...

  • Reveal

    CSND博客上Reveal配置

  • Reveal的调试配置

    Reveal调试配置 首先从 https://github.com/vin-zhou/Reveal 中, 下载Re...

  • Xcode 上使用Reveal调试界面

    安装方法 1、打开Reveal,选择Help -> Show Reveal Library in Finder -...

  • 配置Reveal

    一, 本机有Reveal.app 应用一定要放入到Applications文件夹里面, 不然找不到哟 二, 在当前...

  • 配置Reveal

    Reveal是一个用于查看程序界面结构和调试界面的工具,可以直观的查看应用的UI布局. 下载链接 推荐使用coco...

  • 新版本Reveal集成步骤

    iOS10以上系统Reveal的配置步骤。1.找到reveal带有的ios框架 RevealServer.fram...

网友评论

      本文标题:Reveal 2.x配置方法

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