Xcode variables

In Xcode, I know that you can use variables, such as PROJECT_DIR, for use in some situations, for example, for the script build phase. I am wondering if it is possible to get the type of assembly: IE "Release" or "Debug". Any ideas?

+85
variables build-process xcode
May 20, '09 at 22:27
source share
2 answers

The best source is probably Apple's official documentation . The specific variable you are looking for is CONFIGURATION.

+124
May 21 '09 at 17:17
source share

Here is a list of environment variables . I think you might need CURRENT_VARIANT . See Also BUILD_VARIANTS .

+17
May 20 '09 at 10:42
source share



All Articles