mirror of https://github.com/axmolengine/axmol.git
6 lines
461 B
Bash
Executable File
6 lines
461 B
Bash
Executable File
#put xctool.sh into your PATH
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
COCOS2DX_ROOT="$DIR"/../..
|
|
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_samples.xcodeproj -scheme "build all samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" clean
|
|
xcodebuild -project "$COCOS2DX_ROOT"/build/cocos2d_samples.xcodeproj -scheme "build all samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build
|