title: Xcode variables
body: <p>In Xcode, I know that you can get variables such as <code>PROJECT_DIR</code> 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., <em>Release</em> or <em>Debug</em>). Any ideas?</p>