2013-08-23 45 views

回答

11

是的;在脚本中的$CONFIGURATION变量将被设置:

#!/bin/sh 

if [ "$CONFIGURATON" != "Release" ]; then 
    exit 0 
fi 

# Does stuff only in Release build 

this SO question得到您可能感兴趣的其他Xcode的变量列表。

相关问题