• 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: Running different scripts depending on Build Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running different scripts depending on Build Configuration


  • Subject: Re: Running different scripts depending on Build Configuration
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 8 Jan 2007 09:47:11 -0800

Currently there is no way to have per-configuration build phases. However, what you could do is use the $(CONFIGURATION) build setting in your shell script to conditionalize behavior.

Scott

On Jan 8, 2007, at 9:37 AM, Peter Mulholland wrote:

Hi,

I want to be able to run a shell script during the build phase, but which one I run depends on the Build configuration. For example, with my app, if the Build configuration is "Demo", I need to extract an archive into the .app's Resources folder. If it is "Release CD", it runs a script to package it into an Installer.

Is this possible without too much effort?

Pete.
_______________________________________________
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

_______________________________________________ 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[2]: Running different scripts depending on Build Configuration
      • From: Peter Mulholland <email@hidden>
References: 
 >Running different scripts depending on Build Configuration (From: Peter Mulholland <email@hidden>)

  • Prev by Date: Running different scripts depending on Build Configuration
  • Next by Date: Re: Different classes instantiated from templates SHARE static members!!!
  • Previous by thread: Running different scripts depending on Build Configuration
  • Next by thread: Re[2]: Running different scripts depending on Build Configuration
  • Index(es):
    • Date
    • Thread