App Store Connect CLI
Overview
Use this skill when the task is App Store Connect automation from the terminal. Prefer explicit, non-interactive asc commands with full flags so commands are scriptable and reproducible.
Official project:
Workflow
- Verify availability and version:
command -v ascasc --version
- Install or update
ascif needed (Homebrew preferred on macOS):brew tap rudrankriyam/tapbrew install rudrankriyam/tap/ascbrew upgrade rudrankriyam/tap/asc(for updates)
- Set up authentication with an App Store Connect API key profile:
asc auth login --name "MyApp" --key-id "ABC123" --issuer-id "DEF456" --private-key /path/to/AuthKey.p8- Validate:
asc auth status --validate
- Run task-specific commands with explicit filters and output format:
- Default output is minified JSON for automation.
- Use
--output tablefor terminal readability. - Use
--output markdownfor docs.
- For CI or strict automation:
- Use
--strict-authto fail on mixed auth sources. - Use
--paginatewhen full result sets are required.
- Use
Authentication Rules
- Never echo or print private key contents.
- Prefer
--private-key /path/to/AuthKey.p8over raw key material. - Keep separate profiles per app/client and switch with:
asc auth switch --name "ProfileName"
- For diagnostics:
asc auth doctorasc auth doctor --fix --confirm(only when explicitly intended)
Command Reference
- Read
references/quick-reference.mdfor common command patterns.
Notes
- Prefer stable identifiers (
appIDs, build IDs, group IDs) over name matching where possible. - In automation scripts, keep output JSON and parse with
jq. - When the user asks for "latest", include explicit dates from returned data in the final response.