Wrong value for DEVELOPER_FRAMEWORKS_DIR in Xcode 4.3
Wrong value for DEVELOPER_FRAMEWORKS_DIR in Xcode 4.3
- Subject: Wrong value for DEVELOPER_FRAMEWORKS_DIR in Xcode 4.3
- From: Jens Alfke <email@hidden>
- Date: Tue, 13 Mar 2012 10:31:16 -0700
A project of mine started getting link errors with Xcode 4.3. I tracked the problem down to the build variable DEVELOPER_FRAMEWORKS_DIR having an incorrect value; this seems to be a regression from 4.2. Does this ring a bell to anyone, or should I file a bug report?
The value is "/Applications/Xcode.app/Contents/Developer/Library/Frameworks", regardless of platform. It should actually be SDK relative — the correct value should be "$(SDKROOT)/Developer/Library/Frameworks”.
I ran into this because I have an iOS app target (not a unit-test target) that uses symbols from SenTestingKit, so it links against that framework. I had to add $DEVELOPER_FRAMEWORKS_DIR to the framework search path so the linker could find the framework, but in Xcode 4.3 it only finds the Mac OS framework and fails to link against it.
—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