Some background - I\'ve built a custom Framework using Diney\'s guide at http://db-in.com/blog/2011/07/universal-framework-iphone-ios-2-0/
Its built for both armv
Wow that was a hard ride but i finally solved it!
What sparked the final idea was @steipete's comment , Its a bit of a complex situation so i'll try to explain it for anyone who might've crossed this issue as well.
NSJSONSerialization
, otherwise it would fall back to any imported JSON library such as JSONKit
. NSJSONSerialization
, which will cause an exception on 4.3 projects, meaning you would have to manually look for the compile directions and remove the calls to NSJSONSerialization
before compiling, so it would automatically fall back to the 4.3-compatible library (in my case JSONKit
) . That compilation condition is found on AFHTTPClient.m and AFJSONRequestOperation.m (e.g. #if __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_4_3 || __MAC_OS_X_VERSION_MIN_REQUIRED > __MAC_10_6
)Hope this would help anyone else who might struggle with this for a couple of days like myself :)
Shai.