• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Target settings not inheriting from Project settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:35:08 +0200

On Jun 23, 2010, at 18:25, Fritz Anderson wrote:

> On 23 Jun 2010, at 11:02 AM, Steve Mills wrote:
>
>> I'm looking at something odd in a project. The Project Settings (based on nothing) show these 2 settings as NOT defined at this level:
>>
>> GCC_INLINES_ARE_PRIVATE_EXTERN = NO
>> GCC_SYMBOLS_PRIVATE_EXTERN = NO
>>
>> But in the Target Settings (also based on nothing), those same 2 settings have a different default settings when also NOT defined at this level:
>>
>> GCC_INLINES_ARE_PRIVATE_EXTERN = YES
>> GCC_SYMBOLS_PRIVATE_EXTERN = YES
>>
>> I thought the Target Settings were supposed to be the same value as the Project Settings when they are not defined to be different. Why is this not the case here? Xcode 3.2.1.
>
> You're being careful, but just to get another set of eyes on the problem:
>
> - Are the respective Build tabs set to the same Configuration:?
> - Are the respective settings all _really_ default — not in bold (select and backspace to clear them)?
> - What do you see when you select all the project settings (click one, cmd-A) and drag them into an empty text editor (perhaps for an .xcconfig)?
> - The same, for the target settings?
>
> 	— F

You can easily check yourself that none of these issues is relevant here. Just create a new clean project from a standard template (e.g. a Cocoa Application) and check these settings. You will see that the OP's description is completely accurate for how Xcode behaves. I also explained why it makes sense to behave in such a way in my other reply, even though it's counter-intuitive (as if figuring out build settings isn't already confusing enough). However it is not consistent with what the docs say, so it's essentially a documentation bug.

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

References: 
 >Target settings not inheriting from Project settings (From: Steve Mills <email@hidden>)
 >Re: Target settings not inheriting from Project settings (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Target settings not inheriting from Project settings
  • Next by Date: Re: Target settings not inheriting from Project settings
  • Previous by thread: Re: Target settings not inheriting from Project settings
  • Next by thread: Re: Target settings not inheriting from Project settings
  • Index(es):
    • Date
    • Thread