メインコンテンツまでスキップ
バージョン: v5

ionic cordova compile

Compile native platform code

ionic cordova compile [options]

Like running cordova compile directly, but provides friendly checks.

Examples

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

Inputs

platform

Description

The platform to compile (android, ios)

Options

--debug

Description

Mark as a debug build

--release

Description

Mark as a release build

--device

Description

Deploy build to a device

--emulator

Description

Deploy build to an emulator

Advanced Options

--buildConfig =<file>

Description

Use the specified build configuration