[
https://issues.apache.org/jira/browse/CB-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708247#comment-13708247
]
Michael Brooks commented on CB-4199:
------------------------------------
[~shazron] - ah, well oddly the {{cordova-cli}} assumes that {{--device}} is
implemented in all of the platforms. I suppose we should test and ensure it
works everywhere :)
According to the wiki article, [error code 1 - not implemented / unsupported
command|http://wiki.apache.org/cordova/CommandLineToolingDesign#Errors].
> 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