openfeint 2.12.2 的问题 - 集成问题
我正在尝试将 OpenFeint 2.12.2 集成到我的游戏中,所有内容都会编译和链接,但在运行时它会在函数 [OpenFeint initializeWithProductKey:(...)] 中崩溃,行: +[OpenFeint共享实例]:发送到类的无法识别的选择器
我正在使用xcode 3.2.5和OF的框架版本;试图清理、重建、重新编译整个东西,但没有任何效果。我正在 iPad 4.2、iPhone 4.1 和模拟器上测试它。
有什么想法吗? 干杯!
I am trying to integrate OpenFeint 2.12.2 into my game, everything compiles and links, but while runtime it crashes in function [OpenFeint initializeWithProductKey:(...)], at line:
+[OpenFeint sharedInstance]: unrecognized selector sent to class
I am using xcode 3.2.5 and framework version of OF; tried to clean, rebuild, RECOMPILE whole thing, nothing works. I am testing it on iPad 4.2, iPhone 4.1 and simulator.
Any ideas?
Cheers!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我正在使用 openfeint 2.12.5 并完成了必要的链接器设置。它在模拟器中运行良好,但在设备上崩溃。我陷入了困境。
I am using openfeint 2.12.5 and done necessary linker setting.It runs fine in simulator but crashes on device.I am stuck in this.
请阅读 OpenFeint 附带的文档 - 您必须添加必要的链接器设置,以确保链接器不会删除 Objective-C 必需的 Objective-C 例程。来自文档:
和:
其中还有更多内容,因此请务必阅读!
另外:据我所知,最新版本是 2.12.2:链接旧版本(2.1.12)的动机是什么?旧版本也可能是您遇到一些问题的根源。
Please read the documentation that comes with OpenFeint - there are necessary linker settings that you have to add to make sure the linker doesn't strip out Objective-C necessary Objective-C routines. From the documentation:
and:
There's a lot more in there, so please be sure to read up!
Also: the latest version is 2.12.2 as far as I can tell: what's the motivation behind linking in an older version (2.1.12)? The older version may be the source of some of your troubles as well.