[ 
https://issues.apache.org/jira/browse/CB-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Santana updated CB-5103:
-------------------------------

    Description: 
when using "cordova emulate ios"
It doesn't launch ios simulator ios-sim never gets called

possible root cause:
cordova-cli calls "platforms/ios/cordova/run --emulator"
https://github.com/apache/cordova-cli/blob/master/src/emulate.js#L25

But cordova/run script expects "--emulate"
https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/run#L62

possible fix:
update run to use --emulator instead of --emulate



  was:
when using "cordova emulate ios"
It doesn't launch ios simulator ios-sim never gets called

possible root cause:
cordova-cli calls "platforms/ios/cordova/run --emulator"
https://github.com/apache/cordova-cli/blob/master/src/emulate.js#L25

But cordova/run script expects "--emulate"
https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/run#L62

possible fix:
update run to use "--emulator" instead of "--emulate"




> cordova emulate ios broken: --emulator vs. --emulate
> ----------------------------------------------------
>
>                 Key: CB-5103
>                 URL: https://issues.apache.org/jira/browse/CB-5103
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: Master, 3.1.0
>            Reporter: Carlos Santana
>            Assignee: Carlos Santana
>
> when using "cordova emulate ios"
> It doesn't launch ios simulator ios-sim never gets called
> possible root cause:
> cordova-cli calls "platforms/ios/cordova/run --emulator"
> https://github.com/apache/cordova-cli/blob/master/src/emulate.js#L25
> But cordova/run script expects "--emulate"
> https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/run#L62
> possible fix:
> update run to use --emulator instead of --emulate



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to