This script for:
- build target or scheme (compatible with cocoapods)
- build and run cedar tests
- build and run calabash-iOS tests
Just run command
gem install ios_ci
ios_ci Action ProjectOptions
- build - build project
- cedar - build and run cedar-tests
- calabash - build and run calabash-tests
- --source-root - path to project source code directory ( required )
- --target - project target name ( required if no scheme and workspace specified )
- --scheme - project build scheme ( required if no target specified )
- --workspace - project worspace ( required if no target specified )
- --configuration - Release, Debug ( optional, default: Release )
- --architecture - iphoneos, iphonesimulator ( optional, default: iphonesimulator )
- --sdk - version ( optional, default: latest )
- --family - iphone, ipad ( optional, default: iphone )
- --build-path - relative path from source root to app build ( optional, default: $source-root/build/ )
- --log-file - path to log file ( optional, default: /tmp/$action-$target-$timestamp.log )
This tool is dependent on ios-sim, which can be installed by running command
brew install ios-sim