[ 
https://issues.apache.org/jira/browse/CB-9266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609681#comment-14609681
 ] 

Shazron Abdullah commented on CB-9266:
--------------------------------------

This is because of this default: 
https://github.com/apache/cordova-ios/blob/867a24d6eda0adb282e9c9c9c903098cd985e7b8/bin/templates/scripts/cordova/lib/run.js#L151

We need to grab an available emulator from the emulator image list: 
https://github.com/apache/cordova-ios/blob/867a24d6eda0adb282e9c9c9c903098cd985e7b8/bin/templates/scripts/cordova/lib/run.js#L174

> "cordova run" for iOS does not see non-running emulators
> --------------------------------------------------------
>
>                 Key: CB-9266
>                 URL: https://issues.apache.org/jira/browse/CB-9266
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: Mac OS X Yosemite
>            Reporter: Dmitry Blotsky
>              Labels: ios, simulator
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Steps to reproduce:
> 1. Open the iOS Simulator by opening XCode and clicking {{XCode > Open 
> Developer Tool > iOS Simulator}}
> 2. While in the simulator, open the simulator device manager by clicking 
> {{Hardware > Device > Manage Devices ...}}
> 3. Make sure that some simulators exist, but that there is no iPhone 6 
> simulator
> 4. Create a blank Cordova app and add the iOS platform
> 5. Run the app without specifying a simulator
> Expected: running on another simulator
> Actual: inability to find iPhone 6 simulator



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to