build-sim.sh 447 B

12345678910111213141516171819
  1. #!/bin/bash
  2. # To run build script for CI
  3. xcodebuild clean build-for-testing \
  4. -project WebDriverAgent.xcodeproj \
  5. -derivedDataPath wda_build \
  6. -scheme $SCHEME \
  7. -destination "$DESTINATION" \
  8. CODE_SIGNING_ALLOWED=NO ARCHS=$ARCHS
  9. # simulator needs to build entire build files
  10. pushd wda_build
  11. # to remove unnecessary space consuming files
  12. rm -rf Build/Intermediates.noindex
  13. zip -r $ZIP_PKG_NAME Build
  14. popd
  15. mv wda_build/$ZIP_PKG_NAME ./