Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden


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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >[Fwd: How to conditionally run a script based on build configuration] (From: Allen Cronce <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.