with one click
native-builds
// Use when working with Capgo Cloud native iOS and Android build requests, onboarding, credential storage, credential updates, and build output upload settings.
// Use when working with Capgo Cloud native iOS and Android build requests, onboarding, credential storage, credential updates, and build output upload settings.
Use when operating the Capgo CLI for app setup, OTA bundles, channels, organizations, encryption keys, account lookups, MCP integration, GitHub support commands, and native cloud builds.
Use when working on Capgo OTA release workflows including bundle uploads, compatibility checks, channel management, cleanup, and encryption key setup.
Use when working with Capgo account lookup, organization administration, member security settings, and deprecated organisation aliases.
| name | native-builds |
| description | Use when working with Capgo Cloud native iOS and Android build requests, onboarding, credential storage, credential updates, and build output upload settings. |
Use this skill for Capgo Cloud native iOS and Android build workflows.
build init (alias: build onboarding)npx @capgo/cli@latest build initnpx @capgo/cli@latest build onboarding still works.-a, --apikey <apikey> — Capgo API key to authenticate with (alternative to the CAPGO_TOKEN env var or ~/.capgo / local .capgo file). Takes precedence over a saved key when both are present. Lets the SaaS onboarding wizard render a single copy-pasteable command across bash, zsh, fish, PowerShell, and cmd.exe.npx @capgo/cli@latest build init -a cap_xxxinit onboarding flow.ios/ folder.AuthKey_XXXX.p8).~/.capgo-credentials/onboarding/<appId>.json — safe to interrupt and resume.~/.capgo-credentials/credentials.json used by build request.ios/ folder is missing, onboarding can offer to run cap add ios automatically instead of exiting immediately.~/.capgo-credentials/support/.IOS_DISTRIBUTION certificate via the App Store Connect APIIOS_APP_STORE provisioning profileCapgo <appId> AppStore naming pattern, deletes them, and retries.src/build/onboarding/command.ts — entry point, launches Inksrc/build/onboarding/apple-api.ts — JWT auth + App Store Connect API (verify, create cert, create profile, revoke, delete)src/build/onboarding/csr.ts — CSR generation + P12 creation via node-forgesrc/build/onboarding/progress.ts — per-app progress persistencesrc/build/onboarding/file-picker.ts — macOS native file picker via osascriptsrc/build/onboarding/ui/app.tsx — Ink app (state machine)src/build/onboarding/ui/components.tsx — reusable UI componentsrequestBuildInternal accepts an optional BuildLogger to receive log output via callbacks instead of writing directly to stdout. This enables clean integration with the Ink UI:
interface BuildLogger {
info: (msg: string) => void
error: (msg: string) => void
warn: (msg: string) => void
success: (msg: string) => void
buildLog: (msg: string) => void
uploadProgress: (percent: number) => void
}
build request [appId]npx @capgo/cli@latest build request com.example.app --platform ios --path .build credentials save.--path <path>--platform <platform>: ios or android, required.--build-mode <buildMode>: debug or release.-a, --apikey <apikey>--verbose--build-certificate-base64 <cert>--p12-password <password>--apple-id <email>--apple-app-specific-password <password>--apple-key-id <id>--apple-issuer-id <id>--apple-key-content <content>--app-store-connect-team-id <id>--ios-scheme <scheme>--ios-target <target>--ios-distribution <mode>: app_store or ad_hoc--ios-provisioning-profile <mapping>: repeatable path or bundleId=path--android-keystore-file <keystore>--keystore-key-alias <alias>--keystore-key-password <password>--keystore-store-password <password>--play-config-json <json>--android-flavor <flavor>--no-playstore-upload: skip Play Store upload for the build, requires --output-upload--output-upload--no-output-upload--output-retention <duration>: 1h to 7d--skip-build-number-bump--no-skip-build-number-bumpCredentials are stored locally, either globally in ~/.capgo-credentials/credentials.json or locally in .capgo-credentials.json.
build credentials save--local.npx @capgo/cli build credentials save --platform ios \
--certificate ./cert.p12 --p12-password "password" \
--ios-provisioning-profile ./profile.mobileprovision \
--apple-key ./AuthKey.p8 --apple-key-id "KEY123" \
--apple-issuer-id "issuer-uuid" --apple-team-id "team-id"
npx @capgo/cli build credentials save --platform ios \
--ios-provisioning-profile ./App.mobileprovision \
--ios-provisioning-profile com.example.widget=./Widget.mobileprovision
npx @capgo/cli build credentials save --platform android \
--keystore ./release.keystore --keystore-alias "my-key" \
--keystore-key-password "key-pass" \
--play-config ./service-account.json
--appId <appId>--platform <platform>--local--output-upload, --no-output-upload--output-retention <duration>--skip-build-number-bump, --no-skip-build-number-bump--certificate <path>--ios-provisioning-profile <mapping>--p12-password <password>--apple-key <path>--apple-key-id <id>--apple-issuer-id <id>--apple-team-id <id>--ios-distribution <mode>--apple-id <email>--apple-app-password <password>--keystore <path>--keystore-alias <alias>--keystore-key-password <password>--keystore-store-password <password>--play-config <path>--android-flavor <flavor>build credentials listnpx @capgo/cli build credentials listnpx @capgo/cli build credentials list --appId com.example.app--appId <appId>--localbuild credentials clearnpx @capgo/cli build credentials clearnpx @capgo/cli build credentials clear --localnpx @capgo/cli build credentials clear --appId com.example.app --platform ios--appId <appId>--platform <platform>--localbuild credentials updatenpx @capgo/cli build credentials update --ios-provisioning-profile ./new-profile.mobileprovisionnpx @capgo/cli build credentials update --local --keystore ./new-keystore.jks--appId <appId>--platform <platform>--local--overwrite-ios-provisioning-map--output-upload, --no-output-upload--output-retention <duration>--skip-build-number-bump, --no-skip-build-number-bumpbuild credentials save.build credentials migratenpx @capgo/cli build credentials migrate --platform iosBUILD_PROVISION_PROFILE_BASE64 to CAPGO_IOS_PROVISIONING_MAP.--appId <appId>--platform <platform>: only ios--localhttps://capgo.app/docs/cli/cloud-build/ios/https://capgo.app/docs/cli/cloud-build/android/