现在想用Reveal连接真机调试
参考文章:http://chuansong.me/n/1308113
配置完成之后,运行的时候提示错误
error: no known method '-cStringUsingEncoding:'; cast the message send to the method's return type
error: 1 errors parsing expression
求大神解救啊,谢谢.
抱歉,忘记加上环境信息
Xcode版本:6.3.2
真机IOS版本:8.3
Reveal版本:1.5.1(4946)
1
lawder 2015 年 6 月 27 日 上午刚搞定Reveal连接真机调试
1. 换用命令 command alias reveal_load expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void*)dlopen((char*)[(NSString*)[(NSBundle*)[NSBundle mainBundle] pathForResource:@"libReveal" ofType:@"dylib"] cStringUsingEncoding:0x4], 0x2) : ((void*)0) 参考 http://support.revealapp.com/discussions/questions/52969-integrating-reveal-no-longer-working 2.记得给libReveal.dylib签名,参考 http://support.revealapp.com/kb/getting-started/integrating-reveal-add-reveal-to-your-xcode-project第7点 |
3
lzyroot 2015 年 6 月 29 日
直接cydia搜索Reveal Loader安装,这是开源地址: https://github.com/heardrwt/RevealLoader
然后把插件安装自带的libReveal.dylib换成最新的就行了 |
5
zenghaojim33 2015 年 12 月 23 日
@lawder 请问第二步签名怎么做呢?链接没找到方法
|
6
lawder 2015 年 12 月 23 日
@zenghaojim33 sorry, 链接发得不太好,重发一下: http://support.revealapp.com/kb/getting-started/integrating-reveal-add-reveal-to-your-xcode-project 第 7 点
|
7
Mariox 2016 年 1 月 6 日
@lawder 真机调试 上面的步骤已经走通, 可以输出日志 : INFO: Reveal Server started (Protocol Version 25). 但是 Reveal 设备列表里面还是空的。
设备 iOS9.2 iPad mini2 XCode7.2 |
9
Mariox 2016 年 1 月 7 日
找到问题了,局域网子网掩码被修改了, http://support.revealapp.com/kb/tips-tricks/bonjour-debugging-why-cant-i-connect-to-my-app 参照改了 hosts 可以连接了,@lawder 十分感谢
|