Last active
April 29, 2019 10:04
-
-
Save iheart2code/0d2a640ba9eb67c7c76b to your computer and use it in GitHub Desktop.
.gitlab-ci.yml for Xcode project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- build | |
build_code: | |
stage: build | |
script: | |
- xcodebuild clean -project TestProject.xcodeproj -scheme TestProject | xcpretty | |
- xcodebuild test -project TestProject.xcodeproj -scheme TestProject | xcpretty -c && exit ${PIPESTATUS[0]} | |
tags: | |
- ios |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.thejeremywhite.com/blog/2015/10/05/xcode-gitlab-ci-setup.html
➜ testproject git:(master) ✗ xcodebuild test -project TestProject.xcodeproj -scheme TestProject | xcpretty -c && exit ${PIPESTATUS[0]}
Error on below:
Testing failed:
TestProjectTests:
TestProject.app encountered an error (Failed to install or launch the test runner. (Underlying error: Launch error))
TestProjectUITests:
TestProjectUITests-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Launch error))