If you get an exit code 65 error in any of the Xcode steps, something like:
e[34;1mRunning the tests...e[0m
$ set -o pipefail && env "NSUnbufferedIO=YES" xcodebuild "-workspace" "MyApp.xcworkspace" "-scheme" "MyScheme" "build" "test" "-destination" "platform=iOS Simulator,name=iPhone 6s Plus,OS=latest" | xcpretty "--color" "--report" "html" "--output" "/Users/vagrant/deploy/xcode-test-results-MyScheme.html"
e[33;1mxcode test exit code: 65e[0m
e[31;1mxcode test failed, error: exit status 65e[0m
e[33;1mIf you can't find the reason of the error in the log, please check the raw-xcodebuild-output.log
The log file is stored in $BITRISE_DEPLOY_DIR, and its full path
is available in the $BITRISE_XCODE_RAW_TEST_RESULT_TEXT_PATH environment variablee[0m