I installed the latest version 2.1.0 from AFNetworking with Cocoa pods. When I run the application on simulator 6.1, I get the following error:
dyld: Symbol not found: _NSURLSessionTransferSizeUnknown
Referenced from: /Users/OskarLarsson/Library/Application Support/iPhone Simulator/6.1/Applications/7F665584-0657-4E3E-A416-87C018E6964C/xxxx.app/xxxxx
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/Foundation.framework/Foundation
in /Users/OskarLarsson/Library/Application Support/iPhone Simulator/6.1/Applications/7F665584-0657-4E3E-A416-87C018E6964C/xxxx.app/xxxx
(lldb)
I found a similar question AFNetworking 2.0 "_NSURLSessionTransferSizeUnknown" communication error in Mac OS X 10.8 , which was answered, but since my application still crashes with this version of AFNetworking and ond iOS 6.1, I wonder if anyone knows that I am doing wrong, or if I forget something.
I use: AFNetworking 2.1.0, Mac OS X 10.9.1 and Xcode 5
source
share