Ineligible destinations for the "ios-App" scheme:

#1

Bitrise Build Issue Report template

Description of the issue

Setup new project, default settings. Error on xcode-build:
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:9A192350-5AB2-41EE-BB0A-9D70F7F5B883 }
Ineligible destinations for the “ios-App” 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 }

Environment:

Which build Step causes the issue and which version of the step?

xcode-test

Reproducibility

Occurs everytime. No successful builds yet

Local reproduction

Cannot reproduce locally

Build log

Exporting test results

$ cp “-a” “/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/XCUITestOutput249710909/Test.xcresult” “/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/test_results732368032/test_result972855950/ios-App/”

Failed to export test results, error: copy failed, error: exit status 1, output: cp: /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/XCUITestOutput249710909/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:

Build settings from command line:

COMPILER_INDEX_STORE_ENABLE = NO

xcodebuild: error: Unable to find a destination matching the provided destination specifier:

{ id:9A192350-5AB2-41EE-BB0A-9D70F7F5B883 }

Ineligible destinations for the “ios-App” 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.

You can check the full, unfiltered and unformatted Xcode output in the file:

/Users/vagrant/deploy/raw-xcodebuild-output.log

If you have the Deploy to Bitrise.io step (after this step),

that will attach the file to your build as an artifact!

0 Likes

#2

Hi @jeremyrempel, can you please include an URL to this build so we can check it out?

0 Likes

#3

Sure. The build passes in AppCenter.ms so I think its just a Bitrise specific config issue.

0 Likes

#4

Hi @jeremyrempel, I think the issue is that the wrong environment is selected, this build is running on the Xcode 10.0 stack, can you try the 10.1 or above?

0 Likes

#5

Hi, That got past that error but onto another one. Its failing to import app which comes in from a cocoapod. Is there any special setup reqd for CocoaPods? Build local and AppCenter.ms succeeds.

▸ Compiling ViewController.swift
:x: /Users/vagrant/git/ios-App/ios-App/ViewController.swift:10:8: no such module ‘app’
import app
^

0 Likes