Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.4.1
-
None
Description
All cordova.raw command now need to be called with arguments like this ticket expains: https://issues.apache.org/jira/browse/CB-9987.
Unfortunately the raw emulate command executes the raw prepare with the wrong structure of arguments, with the side effect that if you want to emulate only iOS, the other configured projects will also be add/checked/prepared.
emulate.js calls it like this:
return require('./cordova').raw.prepare(options.platforms);
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/emulate.js line 36
But the argument should be an object with a key named platforms. like so:
return require('./cordova').raw.prepare(
);