• 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
Run Script build phase to call genstrings only for Release config
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run Script build phase to call genstrings only for Release config


  • Subject: Run Script build phase to call genstrings only for Release config
  • From: David Sinclair <email@hidden>
  • Date: Tue, 18 Jul 2006 21:50:36 -0700

I want to automate calling genstrings (to extract the strings for localization) by adding a Run Script build phase in my Xcode projects.

However, I don't want genstrings to run when doing Debug builds. But I'm happy for it to always run for Release builds.

I've created the Run Script build phase okay, but how can I make it conditional on the active build configuration? Either in using that build phase, or doing some evaluation within the script.

Thanks.

--

David Sinclair, Dejal Systems, LLC - email@hidden
Custom Mac OS X development - http://www.dejal.com/consulting/
Site change and failure monitor tool - http://www.dejal.com/simon/
Plus other useful Mac products - http://www.dejal.com/




_______________________________________________ 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: Run Script build phase to call genstrings only for Release config
      • From: Aaron Montgomery <email@hidden>
    • Re: Run Script build phase to call genstrings only for Release config
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: [ANN] Xcode + Leopard at WWDC this year
  • Next by Date: Re: OT: How to file a radar WAS Re: [ANN] Xcode + Leopard at WWDC this year
  • Previous by thread: Re: external target - makefile
  • Next by thread: Re: Run Script build phase to call genstrings only for Release config
  • Index(es):
    • Date
    • Thread