diff --git a/tools/jenkins-scripts/ios-build.sh b/tools/jenkins-scripts/ios-build.sh new file mode 100755 index 0000000000..47333aa598 --- /dev/null +++ b/tools/jenkins-scripts/ios-build.sh @@ -0,0 +1,5 @@ +#put xctool.sh into your PATH +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +COCOS2DX_ROOT="$DIR"/../.. +xctool.sh -project "$COCOS2DX_ROOT"/build/cocos2d_samples.xcodeproj -scheme "build-all-samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" clean +xctool.sh -project "$COCOS2DX_ROOT"/build/cocos2d_samples.xcodeproj -scheme "build-all-samples iOS" -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)" build