[ https://issues.apache.org/jira/browse/CB-12881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040304#comment-16040304 ]
Yuuki Tada commented on CB-12881: --------------------------------- Sorry, this issue seems only happen when I'm targeting the USB connected devices. If the deployment target was emulator/simulator, this issue was not happen. I'm using following devices: iPhone 5s (iOS 9.3.4, ios-deploy 1.9.1) Nexus 10 (Android 4.4.4) My build.json looks like this: {code} { "ios": { "debug": { "developmentTeam": "1234567890" }, "release": { "developmentTeam": "1234567890", "codeSignIdentity": "iPhone Developer" } } {code} > 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 > Fix For: cordova-ios@4.4.1 > > > *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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org