iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
cicada
V2EX  ›  iDev

Reveal 真机调试的问题,求解救

  •  
  •   cicada · Jun 27, 2015 · 7954 views
    This topic created in 3971 days ago, the information mentioned may be changed or developed.

    现在想用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)

    12 replies    2016-10-18 20:35:15 +08:00
    lawder
        1
    lawder  
       Jun 27, 2015   ❤️ 2
    上午刚搞定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点
    cicada
        2
    cicada  
    OP
       Jun 29, 2015
    @lawder 太感谢你了,按照这个方法设置成功了.
    lzyroot
        3
    lzyroot  
       Jun 29, 2015
    直接cydia搜索Reveal Loader安装,这是开源地址: https://github.com/heardrwt/RevealLoader

    然后把插件安装自带的libReveal.dylib换成最新的就行了
    cicada
        4
    cicada  
    OP
       Jul 2, 2015
    @lzyroot 因为机器没有越狱,所以没办法cydia安装,现在有个老设备越狱,准备按照你这个方法试试,感谢.
    zenghaojim33
        5
    zenghaojim33  
       Dec 23, 2015
    @lawder 请问第二步签名怎么做呢?链接没找到方法
    lawder
        6
    lawder  
       Dec 23, 2015
    Mariox
        7
    Mariox  
       Jan 6, 2016
    @lawder 真机调试 上面的步骤已经走通, 可以输出日志 : INFO: Reveal Server started (Protocol Version 25). 但是 Reveal 设备列表里面还是空的。
    设备 iOS9.2 iPad mini2
    XCode7.2
    lawder
        8
    lawder  
       Jan 6, 2016
    @Mariox iPad mini2 和 Mac 是在同一个局域网下吗?会不会 iPad mini2 用了 3G/4G ?
    Mariox
        9
    Mariox  
       Jan 7, 2016
    找到问题了,局域网子网掩码被修改了, http://support.revealapp.com/kb/tips-tricks/bonjour-debugging-why-cant-i-connect-to-my-app 参照改了 hosts 可以连接了,@lawder 十分感谢
    qiudan098
        10
    qiudan098  
       Oct 10, 2016
    @lawder 这个链接已经失效,能说说签名的步骤吗,谢谢
    coldmn3
        11
    coldmn3  
       Oct 18, 2016
    @lzyroot 你是 reveal 2 吗,我装的 reveal 2 试了没法看第三方 app,自己的可以。
    coldmn3
        12
    coldmn3  
       Oct 18, 2016
    @coldmn3 发现问题了,支付宝、京东好像用某种方式加密了还是怎么了, reveal 看不了,其他的 app 可以砍
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   994 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 20:08 · PVG 04:08 · LAX 13:08 · JFK 16:08
    ♥ Do have faith in what you're doing.