Re: Source files being compiled multiple times?
Re: Source files being compiled multiple times?
- Subject: Re: Source files being compiled multiple times?
- From: Fritz Anderson <email@hidden>
- Date: Mon, 26 Apr 2010 19:44:37 -0500
On 26 Apr 2010, at 7:19 PM, Alexander Heinz wrote:
> On Apr 26, 2010, at 8:08 PM, Sherm Pendley wrote:
...
>> No, but you should make sure to check both the project and target
>> settings. Checking only the former is a *very* common source of
>> confusion.
>
> That was the issue; Fritz just pointed it out to me, as well. If I may ask, and anyone happens to know, what exactly do the settings at the "Project" scope actually do? Are they just applied to new Targets added to the project?
Every target in a project will use the project-level settings, BUT a target may override a setting. Use the project-level settings for "policies," like the choice of SDK or warning levels; use the target-level settings to vary the policy case-by-case (or to set things that have to be set per target, like the name of the Info.plist source file).
There is a "default" level above the project settings. In the project and target info windows, settings inherited from the next level up are shown in regular type; settings that are overridden at that level are in bold.
You can take an override away by selecting its row in the build-settings table, and pressing the delete key. The row will go from bold to regular, and reflect the higher level's setting. Note that using "delete" in this way does not _necessarily_ result in an empty or absent setting — just the inherited one.
— F
_______________________________________________
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