cordova run ios -target iPhone-XR
leads to Building for "iPhone X" Simulator
, later not able to start XR simulator to run the app
#602
Labels
Bug Report
This is a variant of #603, where the underlying problem causes failure.
Problem
What is expected to happen?
cordova run --emulator
should be able to use the simulators returned fromcordova run --list
to build and start the app.What does actually happen?
This is probably related to #601, which affects Xcode 9.x Travis CI images:
For the Xcode 10.1 image the failure is stranger:
https://travis-ci.org/apache/cordova-paramedic/jobs/519983899
This time
iPhone-XR, 12.0
is selected as the simulator, but the build is done foriPhone X
:The internal logic of
run
seems to have picked something different than specified in--target
.The real problem, is that later it tries to launch that app on a iPhone XR simulator, which just fails (with no error message being output, currently working on a PR to fix that at least). When you try an equal command locally, you get this error from ios-sim:
No available runtimes could be found for "iphone xʀ"
.Information
Version information
CLI 9, cordova-ios 5.0.0
Checklist
The text was updated successfully, but these errors were encountered: