iPhone 3.0的转储框架不起作用? [英] Dumping frameworks for iPhone 3.0 not working?

查看:213
本文介绍了iPhone 3.0的转储框架不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我的程序需要一些额外的功能,我想为我的iPhone程序使用一些未公开的API。我下载的

DumpFrameworks作为Dumpframeworks.pl
和类转储
来自: http://ericasadun.com/HeaderDumpKit/

Hey I need some extra capabilities for my program and I would like to use some Undocumented APIs for my iPhone program. I downloaded: DumpFrameworks as Dumpframeworks.pl and class-dump from : http://ericasadun.com/HeaderDumpKit/

我将DumpFrameworks.pl放在了
下载文件中,并将class-dump文件放在/ usr / local / bin

I put DumpFrameworks.pl in Downloads and class-dump file in /usr/local/bin

在我运行的终端中:

$perl DumpFrameworks.pl

并出现一些警告和错误:

and some warnings and errors appeared:

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)

***但是最重要的是,脚本似乎最终还是失败了。

***But the most important thing, The script seems to fail in the end.

我得到了***

(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)

我想知道我在这里做错了什么吗?
我需要一些其他设置吗?

I wonder What I am doing wrong here? Do I need some additional settings?

我使用的是Mac OS 10.6.1,想首先丢弃3.0框架,但我的真正目标是3.1框架

I am using Mac OS 10.6.1 and would like to dump 3.0 frameworks in first place but my real aim is 3.1 frameworks

任何帮助将不胜感激。

推荐答案

根据我对未公开的API的理解,它们在那里。因此,在任何应用程序中我都可以称呼它们。

From my understanding of undocumented APIs they are there. So in any app I could just call them.

根据我对类转储的了解,需要使用它们来发现未记录的API。

From my understanding of class dumps, they are needed to discover undocumented APIs.

在萨杜恩(Sadun)的书中,她说这是一个未记录的API调用,以使用它,并将其包含在标题中。然后您可以使用它。

In Sadun's book she says, here's an undocumented-API call this to use it, include this in the header. Then you could use it.

我的建议是不要使用它们。

My recommendation is don't use them.

这篇关于iPhone 3.0的转储框架不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆