add ios build script

This commit is contained in:
heliclei 2014-01-23 23:30:54 +08:00
parent 9642766c7e
commit a28da90c9d
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#put xctool.sh into your PATH
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
xctool.sh -project "$DIR"/../cocos2d_samples.xcodeproj -scheme "build-all-samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" clean
xctool.sh -project "$DIR"/../cocos2d_samples.xcodeproj -scheme "build-all-samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build