iOS Builds failing when using Xcode 11 stack

Description of the issue

We switched to the Xcode 11 stack so that we can start building our iOS app against the iOS 13 SDK.
However the builds are now failing with the following message:

E> xporting test results

$ cp “-a” “/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/XCUITestOutput371764609/Test.xcresult” “/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/test_results141277635/test_result357336117/RocketFan/”
Failed to export test results, error: copy failed, error: exit status 1, output: cp: /var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/XCUITestOutput371764609/Test.xcresult: No such file or directory
xcode test exit code: 70
xcode test failed, error: exit status 70
Last lines of the Xcode’s build log:
{ platform:iOS Simulator, id:6A3A8CDC-3856-4C6B-80CF-457790C8F21F, OS:13.0, name:iPad Pro (12.9-inch) (3rd generation) }
{ platform:iOS Simulator, id:5ECA1435-B0A0-4F7E-B997-19EC5EF1E248, OS:13.0, name:iPhone 8 }
{ platform:iOS Simulator, id:23758209-7EF8-49DB-8421-4BBB48275D03, OS:13.0, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:5E89AAAB-C222-48C1-8196-F6018C36F61D, OS:13.0, name:iPhone Xs }
{ platform:iOS Simulator, id:985D9ECA-4526-4FE6-9CD8-BFC9CAB092A3, OS:13.0, name:iPhone Xs Max }
{ platform:iOS Simulator, id:4DC53125-D75E-4219-943D-DF3CB66870BA, OS:13.0, name:iPhone XĘ€ }
Ineligible destinations for the “RocketFan” scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
If 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 variable.

Environment:

On Bitrise.io with the Xcode 11 stack. Build step failing at testing

Reproducibility

Can reproduce it by rebuilding.

Local reproduction

Cannot reproduce locally. The app builds and runs tests without issue.

Build log

https://app.bitrise.io/api/build/89554c781b5a2463/logs.json?&download=log

Hi @RJ-Clegg,

Sorry for the huge delay here! A new version of the step has been released since, is this still a problem using that?

Hi @bitce,

The build still fails for Xcode 11-beta with same error message provided by @RJ-Clegg above. I was able to successfully build it using Xcode 10.2.1 version.

Hi @rdhuri! Can you provide us an URL about the failure? As this different behaviour could be expected entirely.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.