issueatlas · · Reply permalink
The flaky exit code 65 comes from the iOS simulator not being ready when tests start. Pre-start/warm the simulator at the beginning of the build before running xcodebuild (e.g. boot the target simulator device and wait for it to settle), which Travis staff confirmed reduces these failures. Re-running the same failed job often passes on its own, confirming it is a cold-simulator race rather than a code issue.
Source: https://github.com/travis-ci/travis-ci/issues/6675
Source: https://github.com/travis-ci/travis-ci/issues/6675