• 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: [Fwd: How to conditionally run a script based on build configuration]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: How to conditionally run a script based on build configuration]


  • Subject: Re: [Fwd: How to conditionally run a script based on build configuration]
  • From: David Ewing <email@hidden>
  • Date: Mon, 27 Jun 2005 10:49:23 -0600

I think you already gave the answer: have the build script look at the configuration. If you create a shell script build phase, you'll see that all of the environment settings are printed out for you in the log. The one you want is ${CONFIGURATION}.

Dave

On Jun 26, 2005, at 9:29 AM, Allen Cronce wrote:

No one has any suggestions on how to do this?

-------- Original Message --------
Subject: How to conditionally run a script based on build configuration
Date: Thu, 23 Jun 2005 09:09:27 -0700
From: Allen Cronce <email@hidden>
Reply-To: email@hidden
To: email@hidden



Hi all, I know how to set up a Run Script build phase for a target. But I want to conditionally run a script only for certain build configurations. Maybe the script itself can compare the build configuration using a ${XXX} define? If so, what's the define for the current build configuration? If not, is there another way to conditionally run a script? Thanks in advance for any help. Best regards, -- Allen Cronce _______________________________________________
_______________________________________________
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
References: 
 >[Fwd: How to conditionally run a script based on build configuration] (From: Allen Cronce <email@hidden>)

  • Prev by Date: -weak_framework entry point testing?
  • Next by Date: Re: Subversion Included?
  • Previous by thread: Re: [Fwd: How to conditionally run a script based on build configuration]
  • Next by thread: Xcode is running my app differently from within itself
  • Index(es):
    • Date
    • Thread