Unable to find a destination matching the provided destination specifier

ios
#1

Description of the issue

I am trying to implement fan out builds for our iOS project.
When running the following command, I get the following error:

Unable to find a destination matching the provided destination specifier

– test-without-building –
Command line invocation:
/Applications/Xcode-12.0.1.app/Contents/Developer/usr/bin/xcodebuild -workspace VividSeatsMobile.xcworkspace -scheme “VividSeatsMobile Stage” -sdk iphonesimulator -destination “platform=iOS Simulator,name=iPhone 11,OS=14.0” -resultBundlePath xcodebuild.xcresult -derivedDataPath Users/vagrant/git/DerivedData -testPlan TestShard_1 test-without-building
User defaults from command line:
IDEBuildOperationResultBundlePath = /Users/vagrant/git/xcodebuild.xcresult
IDEDerivedDataPathOverride = /Users/vagrant/git/Users/vagrant/git/DerivedData
Build settings from command line:
SDKROOT = iphonesimulator14.0
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, OS:14.0, name:iPhone 11 }
Available destinations for the “VividSeatsMobile Stage” scheme:
{ platform:macOS, arch:x86_64, id:420E1727-1771-77C5-658D-E41EAF10AE6C }
Ineligible destinations for the “VividSeatsMobile Stage” scheme:
{ platform:macOS, name:Any Mac }

Environment:

Where did the issue happen?

Agent version: 1.15.1

Hostname: prd-atl-elt-y-xcode-12-201022145607-sHcy8itCLEFQ3h9sbHRGeb.local

Start time: 2020-10-22T14:57:45Z

$ bitrise “run” “–config” “/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise-agent691161354/bitrise.yml” “–inventory” “/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise-agent691161354/bitrise.secrets.yml” “–json-params-base64” “eyJ3b3JrZmxvdyI6ImZhbl9vdXRfc3RhZ2VfdGVzdF8yIn0=”
version: 1.43.0

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

The latest script step.

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Today, which is when I first tried this

Local reproduction

NO I am able to run this command locally on my machine without any issues.

Build log

https://app.bitrise.io/build/7c2d4b3b429be51c#?tab=log

0 Likes

closed #2

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

0 Likes