I was just about finishing my app and finally when I got to testing it with all the available devices I had, I found out that it crashes on the iPad. So I tried to run the example code Facebook provided for the SDK and as soon as I try to log in the app crashes.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: body)'
Runs just fine on android and my iPhone that is running iOS 5.0.1
Anyone else run into this issue and/or might know how to fix it?
FBUtility.m in the facebook ios sdk is using the function: [NSJSONSerialization JSONObjectWithData:options:error:]
which is only available in iOS 5.0 and later.
Does anyone know if Facebook intended for the minimum OS version to be 5.0? Or was this an oversight? I can’t find a minimum OS version on the developer site.
EDIT: Nevermind, as of Facebook SDK 3.5, the minimum supported version is iOS 5.0.