Re: Wrong value for DEVELOPER_FRAMEWORKS_DIR in Xcode 4.3
Re: Wrong value for DEVELOPER_FRAMEWORKS_DIR in Xcode 4.3
- Subject: Re: Wrong value for DEVELOPER_FRAMEWORKS_DIR in Xcode 4.3
- From: Joar Wingfors <email@hidden>
- Date: Tue, 13 Mar 2012 20:23:09 -0700
Hi Jens,
The behavior of this variable didn't change between Xcode 4.2 and 4.3 as far as I know (if you factor out the structural differences introduced by the repackaging of the contents of /Developer -> Xcode.app), and I think that it's in fact unchanged since it was introduced in Xcode 2.5 (IIRC).
Joar
On 13 mar 2012, at 10:31, Jens Alfke wrote:
> 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
_______________________________________________
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