Re: Run Script Build Phase and Copy Files Build Phase
Re: Run Script Build Phase and Copy Files Build Phase
- Subject: Re: Run Script Build Phase and Copy Files Build Phase
- From: Chris Espinosa <email@hidden>
- Date: Fri, 9 May 2008 08:54:20 -0700
On May 9, 2008, at 5:51 AM, Dennis Christopher wrote: Is there a complete list of these environmental variables with documentation anywhere?
Dennis BUILD_DIR, BUILD_ROOT, BUILD_STYLE, BUILD_VARIANTS, BUILT_PRODUCTS_DIR, CONFIGURATION, CONFIGURATION_BUILD_DIR, CONFIGURATION_TEMP_DIR
During the Run Script build phase, Xcode copies all the target's defined build settings to environment variables for the purpose of running the script. (They're not generally defined as environment variables during an Xcode build, only in the process that executes the shell script.) So you can find documentation on all of the above in the Xcode Build Setting Reference.
The documentation for the Run Script Build Phase has a capsule description of the ten most relevant build settings available to a script phase, including BUILD_VARIANTS and BUILT_PODUCTS_DIR.
Chris |
_______________________________________________
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