Re: Target settings not inheriting from Project settings
Re: Target settings not inheriting from Project settings
- Subject: Re: Target settings not inheriting from Project settings
- From: Christiaan Hofman <email@hidden>
- Date: Wed, 23 Jun 2010 20:11:41 +0200
On Jun 23, 2010, at 19:10, Fritz Anderson wrote:
> On 23 Jun 2010, at 11:46 AM, Christiaan Hofman wrote:
>
>> Essentially build settings on a particular level really seem to have three types of settings at each level, not two as the UI and the docs seem to suggest. 1. settings defined at that level, 2. settings inherited from a higher level and 3. settings that are not set (which get a default value).
>
> Xcode treats defaults as a level below that of the project settings. Unset project settings should inherit the application defaults. Command-line settings override everything.
Well, that's perhaps what the docs seem to say, but that's clearly a lie. What I see in practice is definitely not like that, as the OP's and mine examples clearly demonstrate (though my Info.plist File example was wrong, I happen to have that in an .xcconfig, but the Mach-O Type setting definitely applies).
> What's mysterious is that targets should inherit the settings from the project level, and this seems not to be happening.
>
> — F
>
It's more like the "default setting" is really a placeholder that says "take whatever is most appropriate for this case" rather than a fixed value, like a macro that takes different values at different places. Though the UI doesn't report a macro for these. What really happens cannot be inferred from whatever info Apple gives us (i.e. the docs).
Christiaan
_______________________________________________
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