最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]简道运行在iOS  8.1出错奔溃:dyld Symbol not found _NSURLSessionTaskPriorityDefault

iOS crifan 4767浏览 0评论

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)

objective c – dyld: Symbol not found: _NSURLAuthenticationMethodClientCertificate when trying to run iOS app – Stack Overflow

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

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.189 seconds, using 22.00MB memory