启动 OFX 示例应用程序时崩溃

发布于 2024-11-08 18:57:49 字数 3185 浏览 0 评论 0原文

我使用 OpenFeintX 在 iPhone 上工作,我只是按照几个步骤使 OFX 示例应用程序工作,但是......它不起作用。

我复制了示例文件夹以制作另一个文件夹,然后复制了 OpenFeint 文件夹并将其放在右侧部分,然后将从仪表板下载的配置文件添加到项目中。

当我运行它时,我得到的是:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.Apple-tab-span {white-space:pre}
2011-05-19 15:02:20.416 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718090 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.418 OpenFeintX[3182:207] +[OpenFeint registerAddOn:]: unrecognized selector sent to class 0x22ad14
2011-05-19 15:02:20.419 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718f30 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.419 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718ff0 of class NSException autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.421 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771ab80 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.422 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771aab0 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.422 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771ac10 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.423 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7835000 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.424 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771aca0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.522 OpenFeintX[3182:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[OpenFeint registerAddOn:]: unrecognized selector sent to class 0x22ad14'

*** Call stack at first throw:

(
0   CoreFoundation                      0x02f9b919 __exceptionPreprocess + 185
1   libobjc.A.dylib                     0x030e95de objc_exception_throw + 47
2   CoreFoundation                      0x02f9d4eb +[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3   CoreFoundation                      0x02f0d116 ___forwarding___ + 966
4   CoreFoundation                      0x02f0ccd2 _CF_forwarding_prep_0 + 50
5   OpenFeintX                          0x0001751d +[OFXStoreManager load] + 50
6   libobjc.A.dylib                     0x030ea9f3 call_load_methods + 187
7   libobjc.A.dylib                     0x030ed5df load_images + 85
8   ???                                 0x8fe036c8 0x0 + 2413835976
9   ???                                 0x8fe0d30a 0x0 + 2413875978
10  ???                                 0x8fe0d3d1 0x0 + 2413876177
11  ???                                 0x8fe024a9 0x0 + 2413831337
12  ???                                 0x8fe07950 0x0 + 2413853008
13  ???                                 0x8fe018b1 0x0 + 2413828273
14  ???                                 0x8fe01057 0x0 + 2413826135
)

terminate called after throwing an instance of 'NSException'

它甚至没有进入主体......

有人有线索吗?

I work for iPhone with OpenFeintX, I just followed the few steps to make OFX sample app work, and... it does not work.

I copied the sample folder to make another one, then I copied the OpenFeint folder and put it in the right section and I added the config files downloaded from the dashboard in the project.

When I run it, here is what I get:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.Apple-tab-span {white-space:pre}
2011-05-19 15:02:20.416 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718090 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.418 OpenFeintX[3182:207] +[OpenFeint registerAddOn:]: unrecognized selector sent to class 0x22ad14
2011-05-19 15:02:20.419 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718f30 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.419 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718ff0 of class NSException autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.421 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771ab80 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.422 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771aab0 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.422 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771ac10 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.423 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7835000 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.424 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771aca0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.522 OpenFeintX[3182:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[OpenFeint registerAddOn:]: unrecognized selector sent to class 0x22ad14'

*** Call stack at first throw:

(
0   CoreFoundation                      0x02f9b919 __exceptionPreprocess + 185
1   libobjc.A.dylib                     0x030e95de objc_exception_throw + 47
2   CoreFoundation                      0x02f9d4eb +[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3   CoreFoundation                      0x02f0d116 ___forwarding___ + 966
4   CoreFoundation                      0x02f0ccd2 _CF_forwarding_prep_0 + 50
5   OpenFeintX                          0x0001751d +[OFXStoreManager load] + 50
6   libobjc.A.dylib                     0x030ea9f3 call_load_methods + 187
7   libobjc.A.dylib                     0x030ed5df load_images + 85
8   ???                                 0x8fe036c8 0x0 + 2413835976
9   ???                                 0x8fe0d30a 0x0 + 2413875978
10  ???                                 0x8fe0d3d1 0x0 + 2413876177
11  ???                                 0x8fe024a9 0x0 + 2413831337
12  ???                                 0x8fe07950 0x0 + 2413853008
13  ???                                 0x8fe018b1 0x0 + 2413828273
14  ???                                 0x8fe01057 0x0 + 2413826135
)

terminate called after throwing an instance of 'NSException'

It does not even enter in the main...

Would anyone have a clue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

小矜持 2024-11-15 18:57:49

在启动代码中的某个位置,选择器 +registerAddOn: 被发送到类 OpenFeint。但是,OpenFeint 不会响应该选择器。

除此之外,我不能说,因为你还没有发布你的代码。

Somewhere in the start up code the selector +registerAddOn: is being sent to the class OpenFeint. However, OpenFeint does not respond to that selector.

More than that I cannot say because you haven't posted your code.

假面具 2024-11-15 18:57:49

好吧,终于成功了,不知道怎么办……第三次我又下载了,试了一下,还好……

Well, finally I managed to make it work, I don't know how... The third time I downloaded it again and tried it it was fine...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文