iOS 8类转储失败

时间:2015-01-27 08:59:11

标签: ios xcode reverse-engineering

最近,我的MAC mini上安装了iOS8 SDK和XCODE 6.0 IDE,系统内的SDK目录是

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks

所有这些框架都运行良好,我的应用程序可以顺利实现它们。

但是如何对它们进行类转储以从结果中获取非公共API?在类转储' Mach-O动态'之后的唯一结果。文件总是: CDStructures.h 。 但是,如果我类转储SDK 7,结果是为每个框架生成许多H文件。

有没有任何方法可以获得'类转储结果' ? 或iOS 8平台禁止此过程?

1 个答案:

答案 0 :(得分:0)

  • 我的猜测是你有class-dump的旧版本。 Try getting a new one here。这个版本适用于我(iOS 8.2和Yosemite)。

  • 另一种选择是在class-dump目录上运行iPhoneSimulator.platform,而不是iPhoneOS.platform目录:

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk/System/Library/
    
  • 如果设备已越狱,您也可以使用classdump-dyld described here

参考

http://iphonedevwiki.net/index.php/Updating_extensions_for_iOS_8

相关问题