Skip to main content
Version: v7

Capacitor CLI - cap add

Add a native platform project to your app.

npx cap add <platform>

Inputs:

  • platform (required): android, ios

Options:

iOS Only:

  • --packagemanager: SPM, Cocoapods