The option to run
cordova platform add <platform> was removed. These commands are not suited to be run on a CI environment, and should be ran during development. Instead,
cordova prepare <platform> is called, which restores cordova platforms and plugins.
If platform rm or add is needed to be run during the build, add a script step before the cordova-prepare step for this functionality.
Moving from v0 to v1:
- If using cordova-archive step, update it to version 2.
- Make sure to remove the input parameter readd_platform.