Skip to main content
Version: v6

ionic cordova compile

Compile native platform code

$ ionic cordova compile [platform] [options]

Like running cordova compile directly, but provides friendly checks.

platform

コンパイルするプラットフォーム(androidios)。

Options

  • --debug: Mark as a debug build

  • --release: Mark as a release build

  • --device: Deploy build to a device

  • --emulator: Deploy build to an emulator

Advanced Options

  • --buildConfig=<file>: Use the specified build configuration

Examples

$ ionic cordova compile ios
$ ionic cordova compile ios --device
$ ionic cordova compile android