dyld: Symbol not found: _NSURLSessionTaskPriorityDefault Referenced from: /Users/minglong/Library/Developer/CoreSimulator/Devices/52CE7CBD-0ECC-410F-A2A3-470BE6CE1849/data/Containers/Bundle/Application/1A6F7DBC-9B76-4195-8E75-0DE6FA9035B7/JianDao.app/JianDao Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation in /Users/minglong/Library/Developer/CoreSimulator/Devices/52CE7CBD-0ECC-410F-A2A3-470BE6CE1849/data/Containers/Bundle/Application/1A6F7DBC-9B76-4195-8E75-0DE6FA9035B7/JianDao.app/JianDao(lldb)
想办法去重新该问题:
去运行调试
dyld: Symbol not found: _NSURLSessionTaskPriorityDefault
swift2 · Issue #74 · onevcat/Kingfisher
当前我的Xcode版本是:Version 7.3 (7D175)
dyld: Symbol not found: _NSURLSessionTaskPriorityDefault · Issue #169 · onevcat/Kingfisher
add cfnetwork framework by KyoheiG3 · Pull Request #78 · onevcat/Kingfisher
去添加对应的库:CFNetwork
此处已经有了:
啊。。。
把:
CFNetwork
放到
Foundation之前试试:
然后竟然解决此问题了:
至少可以看到程序正常运行,进入登录页面了:
转载请注明:在路上 » [已解决]简道运行在iOS 8.1出错奔溃:dyld Symbol not found _NSURLSessionTaskPriorityDefault