$ ionic cordova compile

Compile native platform code

Synopsis

$ ionic cordova compile [<platform>]

Details

Like running cordova compile directly, but provides friendly checks.

Input Description
platform The platform to compile (android, ios)
Option Description
--debug Create a Cordova debug build
--release Create a Cordova release build
--device Compile Cordova build to a device
--emulator Compile Cordova build to an emulator

Examples

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

API

Native

General