2013-08-23 44 views

回答

11

是的;在腳本中的$CONFIGURATION變量將被設置:

#!/bin/sh 

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

# Does stuff only in Release build 

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

相關問題