App Store Connect CLI
$ asc Community High RiskApp Store Connect CLI (asc) automates Apple App Store Connect workflows including TestFlight uploads, App Store submissions, metadata localizations, agreements, and Xcode Cloud builds. Designed for headless scripts and AI agents with --output json, ASC_DEFAULT_OUTPUT=json, --profile, --confirm safety gates, and read-only schema/check-readiness commands.
brew install asc asc handles local .ipa uploads, JWT .p8 signing, asc schema discovery, and automatic JSON output in non-TTY pipes without exposing private .p8 keys to an MCP server.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Defaults to JSON in non-TTY pipes, supports explicit --output json, asc schema introspection, and --profile selection.
- Supports
--output jsonandASC_DEFAULT_OUTPUT=json - Exposes
asc schemaandasc capabilitiesfor agent introspection
Gates destructive/submission actions behind explicit --confirm flags and supports read-only pre-flight checks (check-readiness), though App Store releases carry high operational impact.
- Mutations require explicit
--confirmflag - Includes read-only
asc versions check-readiness
Single Go binary via brew install asc on macOS and Linux (no Windows support needed for most Apple CI).
- Installable via
brew install ascand GitHub releases
Broad coverage of TestFlight, App Store Connect metadata, localizations, EULAs, and Xcode Cloud in one binary.
- Replaces
altool/Fastlane scripting for App Store Connect API operations
Community-maintained MIT project (rorkai/App-Store-Connect-CLI) actively built for modern CLI/agent workflows.
- Open-source MIT repository at rorkai/App-Store-Connect-CLI
Clean docs at asccli.sh complemented by runtime asc schema and asc capabilities discovery.
- Runtime
asc schemaand documentation at asccli.sh
Security, Auth & Guardrails
Stores App Store Connect API .p8 key references and --profile profiles in OS keychain or local config, or reads ASC_KEY_ID, ASC_ISSUER_ID, and ASC_PRIVATE_KEY_PATH.
MIT open-source CLI; requires an active Apple Developer Program membership and App Store Connect API key.
# App Store Connect CLI (asc) Agent Rules - Always pass `--output json` (or set `ASC_DEFAULT_OUTPUT=json`) and `--profile` explicitly. - Run `asc versions check-readiness` and `asc schema` before any release mutation. - Never pass `--confirm` on submissions or deletions without explicit user approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
asc apps list --output json --pretty
Lists registered apps and bundle IDs in structured JSON without modifying App Store state.
asc versions check-readiness --app <app-id> --output json
Validates metadata, screenshots, and submission readiness read-only before submitting.
Controlled Writes & Previews
asc builds upload --app <app-id> --ipa ./build/App.ipa --output json
Uploads a signed .ipa archive to App Store Connect using --profile or ASC_* credentials.
Strengths for Agents
- + Auto-detects non-TTY pipes to emit JSON and provides
asc schemafor agent discovery. - + Requires explicit
--confirmon high-impact submissions and destructive commands.
Caveats & Pitfalls
- ! Community-maintained rather than an official Apple tool; API schema changes depend on upstream updates.
- ! Requires an Apple Developer
.p8API key configured via--profileorASC_*env vars.