You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/05/08 17:54:06 UTC
[GitHub] [cordova-ios] colbymelvin opened a new issue #833: iOS simulator targets are not prioritized by SDK
colbymelvin opened a new issue #833:
URL: https://github.com/apache/cordova-ios/issues/833
# Bug Report
## Problem
When running `cordova emulate ios` without a target, the `deployToSim` method just picks the last iPhone emulator specified by `listEmulatorImages`.
This can be burdensome on a machine with lots of installed images for varying iOS versions.
### What is expected to happen?
When not specifying a target, I would expect `cordova emulate ios` to prioritize by SDK version when possible.
Given the following list of emulator images, I would expect the first 13.X image found to take precedence and be used as the default target:
```
iPhone-8, 13.4
...
iPhone-8-Plus, 13.4
...
iPhone-11, 13.4
...
iPhone-11-Pro, 13.4
...
iPhone-11-Pro-Max, 13.4
...
iPhone-SE--2nd-generation-, 13.4
iPhone-5s, 11.4
...
iPhone-6-Plus, 11.4
...
iPhone-6, 11.4
...
iPhone-6s, 11.4
...
iPhone-6s-Plus, 11.4
...
iPhone-SE, 11.4
...
iPhone-7, 11.4
...
iPhone-7-Plus, 11.4
...
iPhone-X, 11.4
...
iPhone-XS, 12.0
...
iPhone-XS-Max, 12.0
...
iPhone-XR, 12.1
```
### What does actually happen?
Given the following list of emulator images, the _last_ iPhone emulator image is used (`iPhone-XR, 12.1`):
```
iPhone-8, 13.4
...
iPhone-8-Plus, 13.4
...
iPhone-11, 13.4
...
iPhone-11-Pro, 13.4
...
iPhone-11-Pro-Max, 13.4
...
iPhone-SE--2nd-generation-, 13.4
iPhone-5s, 11.4
...
iPhone-6-Plus, 11.4
...
iPhone-6, 11.4
...
iPhone-6s, 11.4
...
iPhone-6s-Plus, 11.4
...
iPhone-SE, 11.4
...
iPhone-7, 11.4
...
iPhone-7-Plus, 11.4
...
iPhone-X, 11.4
...
iPhone-XS, 12.0
...
iPhone-XS-Max, 12.0
...
iPhone-XR, 12.1
```
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] colbymelvin commented on issue #833: iOS simulator targets are not prioritized by SDK
Posted by GitBox <gi...@apache.org>.
colbymelvin commented on issue #833:
URL: https://github.com/apache/cordova-ios/issues/833#issuecomment-625950546
I am willing to work on and submit a PR for this -- LMK!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org