Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.4.0
Description
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:
Error: runOptions.argv.argv.slice is not a function
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