Build an Ionic project for a given platform
$ ionic capacitor build [options]
ionic capacitor build will do the following:
- Copy web assets into the specified native platform
- Open the IDE for your native project (Xcode for iOS, Android Studio for Android)
Once the web assets and configuration are copied into your native project, you can build your app using the native IDE. Unfortunately, programmatically building the native project is not yet supported.
$ ionic capacitor build
$ ionic capacitor build android
$ ionic capacitor build ios
The platform to build for (e.g.
Do not invoke Ionic build
Do not invoke Capacitor open
Flag to use the