If you use Mac OS 10.8, the error seems plausible because NSURLSessionTransferSizeUnknown( NSURLSessionand AFURLSessionManager) Mac OS 10.9 or iOS 7.0 and later are required.
AFNetworking 2.0 appeared, which incorrectly checked the OS version and tried to enable it AFURLSessionManagereven when using targets up to 10.9 and iOS 7.0. This has been fixed since then, and this particular problem should disappear if you upgrade your AFNetworking 2.0 code to the latest version.
source
share