"Symbol not found: _NSHTTPCookieExpires" when app built with Xcode 6
"Symbol not found: _NSHTTPCookieExpires" when app built with Xcode 6
- Subject: "Symbol not found: _NSHTTPCookieExpires" when app built with Xcode 6
- From: Jens Alfke <email@hidden>
- Date: Sat, 21 Jun 2014 20:22:16 -0700
I’ve got an iOS app target that runs fine in Xcode 5.1, but when I run it in Xcode 6.0b2 it dies at launch with a dyld missing-symbol error. This happens both in the simulator and on my real iPhone 5 running iOS 7.1.
dyld: Symbol not found: _NSHTTPCookieExpires
Referenced from: /Users/snej/Library/Developer/CoreSimulator/Devices/AD42D52D-B832-48FD-B2D2-46420958EA5D/data/Applications/133EC813-3DCC-4028-86EE-F26B057C5A7D/Worker Bee.app/Worker Bee
Expected in: /Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/CFNetwork.framework/CFNetwork
in /Users/snej/Library/Developer/CoreSimulator/Devices/AD42D52D-B832-48FD-B2D2-46420958EA5D/data/Applications/133EC813-3DCC-4028-86EE-F26B057C5A7D/Worker Bee.app/Worker Bee
This error looks suspicious, because IIRC the CFNetwork framework doesn’t have any Objective-C symbols like NSHTTPCookieExpires in it — I think that symbol’s supposed to be in Foundation. I’m wondering whether the iOS 8 SDK has that symbol in the wrong framework, so the linker ends up creating an incorrect reference to it when it builds the import list of the binary? In that case I should file a Radar, but I’m asking here first in case something else might be going on.
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden