My app is crashing with the message:
dyld: Symbol not found: _NSURLAuthenticationMethodClientCertificate
Referenced from: /var/mobile/Applicat
In my case it happened when I updated 3rd party library using CocoaPods.
Simply Clearing Build Folder helped ⇧⌘K
I got some error similar: dyld: Symbol not found: _NSDictionary0 By the link: I reset my related projects' Deployment target to same value: 8.0, then it ok. May be something changed in ios9.0 and ios8.0, so if we want to make 8.0 compatible, we should make the related projects to know.
dyld: Symbol not found: ___NSDictionary0__ when using google ServiceGenerator binary with discovery docs in XCode 7 & iOS target 9.0
Make CFNetwork.framework optional it worked for me
I had a similar issue with UIAlertAction
dyld: Symbol not found: _OBJC_CLASS_$_UIAlertAction Referenced from: /var/mobile/Applications/ ....app/ ... Expected in: /System/Library/Frameworks/UIKit.framework/UIKit in /var/mobile/Applications/ ....app/ ...
Making UIKit.frameWork
Optional
solved my issue. In your case I am guessing, making your CFNetwork.framework
optional
will solve your problem too.
I ran into this exact problem at WWDC. I spoke to a couple of Apple engineers who told me this is a bug in the SDK caused by moving some symbols between CFNetwork & Foundation, and that it would be resolved in the next release, due very soon. You can work around it in some cases by playing with the order frameworks are imported, but it won't always work.
Re-ordering in XCode didn't do the trick; I'm using Cocoapods, which creates a Pods.xcconfig file. This has a OTHER_LDFLAGS line. I put -framework Foundation
as the first entry, and that's made my project work.
OTHER_LDFLAGS = -framework Foundation -ObjC …
(Beware, this file gets re-generated each time you pod update
.)