[
https://issues.apache.org/jira/browse/CB-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708125#comment-13708125
]
Michael Brooks commented on CB-4199:
------------------------------------
The issue [phonegap-cli#94|https://github.com/mwbrooks/phonegap-cli/issues/94]
contains a usage example where the user ran into this unexpected behaviour.
> iOS Platform Script `run --device` uses Simulator
> -------------------------------------------------
>
> Key: CB-4199
> URL: https://issues.apache.org/jira/browse/CB-4199
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.9.0
> Reporter: Michael Brooks
> Assignee: Shazron Abdullah
>
> On iOS, the platform script {{./cordova/run --device}} deploys to the
> simulator.
> This is incorrect and unexpected behaviour.
> Since iOS cannot deploy to a device (yet), it should do nothing, return an
> error code, and explain that devices are not yet supported. This is helpful
> to both users and utilities using the platform script.
> This is also an important feature for {{cordova-cli}} and {{phonegap-cli}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira