简体   繁体   English

Iphone App在4.0或更低版本的SDK上崩溃

[英]Iphone App crashes on 4.0 or lower sdk

this crash is happening before i can even break the code anywhere so i cant seem to find out why. 崩溃发生在我什至无法在任何地方破坏代码之前,所以我似乎无法找出原因。 i get this error from the console 我从控制台收到此错误

dyld: Symbol not found: _OBJC_CLASS_$_GKAchievement Referenced from: /Users/chris_mellor88/Library/Application Support/iPhone Simulator/4.0.2/Applications/D9702DFF-6F6F-4F83-873C-16CE5D3C2861/Match U'm.app/Match U'm Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/System/Library/Frameworks/GameKit.framework/GameKit in /Users/chris_mellor88/Library/Application Support/iPhone Simulator/4.0.2/Applications/D9702DFF-6F6F-4F83-873C-16CE5D3C2861/Match U'm.app/Match U'm Data Formatters temporarily unavailable, will re-try after a 'continue'. dyld:未找到符号:_OBJC_CLASS _ $ _ GKA成就引用自:/ Users / chris_mellor88 / Library / Application Support / iPhone Simulator / 4.0.2 / Applications / D9702DFF-6F6F-4F83-873C-16CE5D3C2861 / Match U'm.app / Match U 'm预期在:/ Users / chris_mellor88 / Library / Application Support / iPhone Simulator / 4.0中的/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/System/Library/Frameworks/GameKit.framework/GameKit中.2 / Applications / D9702DFF-6F6F-4F83-873C-16CE5D3C2861 / Match U'm.app / Match U'm数据格式化程序暂时不可用,将在“继续”后重试。 (Not safe to call dlopen at this time.) (目前不安全调用dlopen。)

As you can see its a Data Formatters error but im not sure why. 如您所见,它是数据格式化程序错误,但我不确定原因。 The app runs perfectly on 4.1 and 4.2 sdk, it just seems to crash on any before that. 该应用程序可以在4.1和4.2 sdk上完美运行,在此之前它似乎都崩溃了。

Check the documentation . 检查文档 GKAchievement available Available in iOS 4.1 and later. GKAchievement可用在iOS 4.1和更高版本中可用。

您正在尝试访问Game Kit( GKAchievement类),但仅在iOS 4.1或更高版本上可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM