You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kerri Shotts (JIRA)" <ji...@apache.org> on 2017/06/05 15:37:04 UTC

[jira] [Commented] (CB-12881) Cannot specify multiple platforms at once when cordova-ios was targeted

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

Kerri Shotts commented on CB-12881:
-----------------------------------

Please try with {{--verbose}} and paste a link to the gist of the output. There might be useful information in the verbose logs that would help tracking it down. Also if you have a stack trace, the entire trace would be useful as well.

> Cannot specify multiple platforms at once when cordova-ios was targeted
> -----------------------------------------------------------------------
>
>                 Key: CB-12881
>                 URL: https://issues.apache.org/jira/browse/CB-12881
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: 4.4.0
>            Reporter: Yuuki Tada
>            Priority: Minor
>
> *Reproduction steps:*
> cordova create hello
> cd hello
> (prepare build.json for ios build)
> cordova platform add ios android
> cordova run ios android
> *Expected result:*
> Both Android and iOS applications started successfully.
> *Actual result:*
> Android application was launched without an error.
> iOS application failed to start with the following error:
> {code}Error: runOptions.argv.argv.slice is not a function{code}
> *Tested with the following versions:*
> Cordova@7.0.1
> cordova-ios@4.4.0
> cordova-android@6.2.3
> Node.js v6.10.3
> macOS Sierra 10.12.4
> This issue can be avoided by running each platforms separately.
> e.g. cordova run android; cordova run ios



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org