Discussion here: https://discuss.circleci.com/t/xcode-exit-code-65/
Created
April 19, 2017 00:35
-
-
Save mattyohe/31552b6543ae0cf2fdca912c29e9bb17 to your computer and use it in GitHub Desktop.
Partial Makefile that resolves random Error 65 issues on circle (and travis?)
This file contains hidden or 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
.PHONY: _build | |
_build: | |
set -o pipefail && \ | |
xcodebuild build -workspace $(WORKSPACE).xcworkspace -scheme $(SCHEME) \ | |
-sdk $(SDK) -destination $(DESTINATION) \ | |
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= 2>&1 | \ | |
tee $(CIRCLE_ARTIFACTS)/xcode_raw_build.log | \ | |
xcpretty --color | |
.PHONY: _test | |
_test: | |
set -o pipefail && \ | |
xcodebuild test -workspace $(WORKSPACE).xcworkspace -scheme $(SCHEME) \ | |
-sdk $(SDK) -destination $(DESTINATION) \ | |
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= 2>&1 | \ | |
tee $(CIRCLE_ARTIFACTS)/xcode_raw_test.log | \ | |
xcpretty --color --report junit --output $(CIRCLE_TEST_REPORTS)/test-results.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Invoked from
circle.yml
with something like this: