Xcode build settings are lexically scoped, just like variables in C. Think of the project as an outer scope (like a file static variable) and a target like an inner scope (like a local variable).

If you don't override a build setting at the target level, its project- level setting is used. You can tell a setting is overridden because it's in bold rather than plain text.

  -- Chris

On Dec 1, 2009, at 5:35 PM, Graham Cox <graham....@bigpond.com> wrote:

I'd set this in the (Project) > Get Info > Build settings, not (Target) > Get Info > Build settings.

Putting it in the target settings works as expected.

To be honest it's very confusing as to which settings you're supposed to use for what, and where they apply, since they're all identical. If the project settings are not used, why have them there at all?
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to