プログラムに追加機能が必要で、iPhone プログラムに文書化されていない API を使用したいと考えています。私がダウンロードしたもの: DumpFrameworks.pl としての DumpFrameworks および 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 フレームワークです
どんな助けでも大歓迎です。