NSJSONSerialization与Facebook iOS SDK 3.5崩溃 [英] NSJSONSerialization crash with Facebook iOS SDK 3.5
问题描述
当我将iOS iOS从3.2更新到3.5之后,我在iOS中的iOS设备上运行我的应用程序时会收到此错误(例如4.3.5)。
dyld:找不到符号:_OBJC_CLASS _ $ _ NSJSONSerialization
...
预计在:/System/Library/Frameworks/Foundation.framework/Foundation
如果我将Foundation框架设置为可选,我可以避免这种崩溃,但我不认为这是最佳选项
有没有另外一种方法可以使Facebook SDK在iOS版之前的设备上工作?
从Facebook iOS SDK changelog v3.5:
http://developers.facebook.com/ios/change-log-3.x/
移除对iOS 4的支持。* Facebook 6.0支持iOS 4.x.为了保持同步,Facebook SDK也不支持iOS 4.x。
所以,如果你更新到Facebook SDK 3.5您失去对iOS 4.x的支持
After I updated Facebook iOS SDK from 3.2 to 3.5 I'm getting this error when running my app in a device with iOS older than 5 (eg 4.3.5).
dyld: Symbol not found: _OBJC_CLASS_$_NSJSONSerialization
...
Expected in: /System/Library/Frameworks/Foundation.framework/Foundation
I can avoid this crash if I set Foundation framework as Optional, but I don't think this is the best option.
Is there another way to make Facebook SDK works in devices with iOS previous to version 5?
From Facebook iOS SDK changelog v3.5: http://developers.facebook.com/ios/change-log-3.x/
Removes support for iOS 4.* Facebook 6.0 dropped support for iOS 4.x. To stay in sync, the Facebook SDK is also does not support iOS 4.x.
So, if you update to Facebook SDK 3.5 you lose support for iOS 4.x
这篇关于NSJSONSerialization与Facebook iOS SDK 3.5崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!