嘿,我的程序需要一些额外的功能,我想为我的 iPhone 程序使用一些未记录的 API。我下载了:DumpFrameworks as Dumpframeworks.pl 和 class-dump 来自:http ://ericasadun.com/HeaderDumpKit/
我将 DumpFrameworks.pl 放在 Downloads 中,并将 class-dump 文件放在 /usr/local/bin 中
在我运行的终端中:
$perl DumpFrameworks.pl
并出现了一些警告和错误:
Framework: Accelerate
2009-09-30 08:39:58.776 class-dump[466:903] Warning: This file does not contain any Objective-C runtime information.
Framework: ApplicationServices
2009-09-30 08:40:00.443 class-dump[473:903] Couldn't read file: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/ApplicationServices.framework/ApplicationServices
2009-09-30 08:40:00.449 class-dump[473:903] Couldn't read file: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/ApplicationServices.framework/ApplicationServices
class-dump: Input file (/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/ApplicationServices.framework/ApplicationServices) is neither a Mach-O file nor a fat archive.
... etc (above warnings are very common when I run the perl script)
***但最重要的是,脚本最终似乎失败了。
我有***
(after several warnings like above)
Framework: WebKit
2009-09-30 08:40:24.228 class-dump[662:903] caught exception: expected (many things), got 260
2009-09-30 08:40:24.232 class-dump[662:903] type: ^{WebDocumentLoaderMac=^^?iB^{Frame}{RefPtr<WebCore::MainResourceLoader>="m_ptr"^{MainResourceLoader}}{HashSet<WTF::RefPtr<WebCore::ResourceLoader>,WTF::PtrHash<WTF::RefPtr<WebCore::ResourceLoader> >,WTF::HashTraits<WTF::RefPtr<WebCore::ResourceLoader> > >="m_impl"{HashTable<WTF::RefPtr<WebCore::ResourceLoader>,WTF::RefPtr<WebCore::ResourceLoader>,WTF::IdentityExtractor<WTF::RefPtr<WebCore::ResourceLoader> >,WTF::PtrHash<WTF ... etc (I got many many lines of this kind of code in WebCore framework)
我想知道我在这里做错了什么?我需要一些额外的设置吗?
我正在使用 Mac OS 10.6.1 并想首先转储 3.0 框架,但我的真正目标是 3.1 框架
任何帮助将不胜感激。