Re: Appending value in xcconfig file
Re: Appending value in xcconfig file
- Subject: Re: Appending value in xcconfig file
- From: Chris Espinosa <email@hidden>
- Date: Fri, 16 Apr 2010 08:39:01 -0700
On Apr 16, 2010, at 4:50 AM, Dmitry Nezhevenko wrote:
> We're intensively using .xcconfig files to define various settings (such
> as FRAMEWORK_SEARCH_PATHS) on multiple levels.
>
> Unfortunately code like:
>
> FRAMEWORK_SEARCH_PATHS = $(FRAMEWORK_SEARCH_PATHS) NEW_VALUE
>
> doesn't work at all. It applies only NEW_VALUE and forgets about previous
> setting.
The correct general syntax for this is
FRAMEWORK_SEARCH_PATHS = $)inherited) /path/to/additional/frameworks
You have to use the .xcconfig file in the correct place in the build setting hierarchy. Framework Search Paths is initially undefined at the lowest level of Xcode, so you might be seeing correct behavior, depending on where your .xcconfig file is used.
Chris _______________________________________________
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