Cordova archive v2.0.0

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.
Adding a default options flag for cordova to use the legacy XCode build system, as cordova does not yet officially support the new one. (
If yarn.lock is present in the working directly, yarn is used to install cordova and ionic packages (if related parameters are present). This can conflict with platform add command tough. (

Migration guide

If platform rm or add is needed to be run during the build, add a script step before the corodva-archive step for this functionality.

Moving from v1 to v2:

  1. If using cordova-prepare step, update it to version 1.
  2. Make sure to remove the input parameters add_platform, readd_platform.

This topic was automatically closed after 90 days. New replies are no longer allowed.