[
https://issues.apache.org/jira/browse/CB-12881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040253#comment-16040253
]
Shazron Abdullah commented on CB-12881:
---------------------------------------
The error occurs here:
https://github.com/apache/cordova-ios/blob/3507af4ac68ed13cfb4d8ecfd0e91e747a9c6875/bin/templates/scripts/cordova/lib/run.js#L107
But I can't seem to repro using your steps.
*Tested with the following versions:*
[email protected]
[email protected]
[email protected]
Node.js v6.7.0
macOS Sierra 10.12.5
What does your build.json look like? Anonymize any sensitive values.
> 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
> Assignee: Shazron Abdullah
> 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:*
> [email protected]
> [email protected]
> [email protected]
> 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: [email protected]
For additional commands, e-mail: [email protected]