Xcode variables

Allyn picture Allyn · May 21, 2009 · Viewed 125.6k times · Source

In Xcode, I know that you can get variables such as PROJECT_DIR to use in some situations, such as a run script build phase. I am wondering if it's possible to get the build type (i.e., Release or Debug). Any ideas?

Answer

smorgan picture smorgan · May 21, 2009

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