Re: Localization and Build Configurations
Re: Localization and Build Configurations
- Subject: Re: Localization and Build Configurations
- From: Nick Nallick <email@hidden>
- Date: Tue, 3 Jan 2006 12:40:17 -0700
On Jan 3, 2006, at 11:59 AM, Chris Espinosa wrote:
I'm working on a new localization. In CodeWarrior I include the
experimental localization in my debug build but not in my release
build. How do I set up my Xcode project to include this
localization only in the release build configuration?
Xcode generally doesn't have great facilities for different target
membership per-configuration. We've added some facilities for
doing such things for compilation, but not across-the board.
Your best bet is to add a Run Script Build Phase to the target
that, conditionally on the value of ${CONFIGURATION}, strips the
experimental localizations from the built product.
As a Mac developer for the last twenty years my shell scripting is
pretty rusty. Can you point me at any examples of how to combine
Xcode build settings and scripts? The Xcode documentation doesn't
seem to cover this.
Thanks,
Nick
_______________________________________________
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