• 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: Localization and Build Configurations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Localization and Build Configurations
      • From: Chris Espinosa <email@hidden>
References: 
 >Localization and Build Configurations (From: Nick Nallick <email@hidden>)
 >Re: Localization and Build Configurations (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Xcode and Subversion
  • Next by Date: Re: failed to load custom data formatter plugin
  • Previous by thread: Re: Localization and Build Configurations
  • Next by thread: Re: Localization and Build Configurations
  • Index(es):
    • Date
    • Thread