Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 894 Bytes

build.md

File metadata and controls

27 lines (20 loc) · 894 Bytes
title description sidebar_label
CLI Command - cap build
Capacitor CLI - cap build
build

Capacitor CLI - cap build

This command will build the native project to create a signed AAB, APK or IPA file. Build options can be specified on the command line or in your Capacitor Configuration File.

npx cap build [options] <platform>

Inputs:

  • platform (required): android, ios

Options:

  • --scheme <scheme-to-build>: iOS Scheme to build (default is App)
  • --flavor <flavor-to-build>: Android Flavor to build
  • --keystorepath <path>: Path to the keystore file
  • --keystorepass <keystore-password>: Password to the keystore
  • --keystorealias <alias>: Key alias in the keystore
  • --keystorealiaspass <alias-password>: Password for the keystore alias
  • --androidreleasetype <release-type>: Can be either AAB or APK