Dyld: Symbol not found: _NSURLSessionTransferSizeUnknown AFNetworking 2.1.0

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

+4
source share
1

AFNetworking 2.0 iOS 7. NSURLSession iOS 6, iOS 7

+6

Source: https://habr.com/ru/post/1524034/


All Articles