Methodologygeneric
asc-build-lifecycle
Track build processing, find latest builds, and clean up old builds with asc. Use when managing build retention or waiting on processing.
rudrankriyam/app-store-connect-cli-skills
Install
Use with your agent
Install the asc-build-lifecycle skill, then use it as build context. Run: npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-build-lifecycle. Then read the installed skill.md and follow its guidance to build or refactor my project.
asc build lifecycle
Use this skill to manage build state, processing, and retention.
Find the right build
- Latest build:
asc builds info --app "APP_ID" --latest --version "1.2.3" --platform IOS
- Next safe build number:
asc builds next-build-number --app "APP_ID" --version "1.2.3" --platform IOS
- Recent builds:
asc builds list --app "APP_ID" --sort -uploadedDate --limit 10
Inspect processing state
asc builds info --build-id "BUILD_ID"
Distribution flows
- Prefer end-to-end:
asc publish testflight --app "APP_ID" --ipa "./app.ipa" --group "GROUP_ID" --waitasc publish appstore --app "APP_ID" --ipa "./app.ipa" --version "1.2.3" --wait --submit --confirm
Cleanup
- Preview expiration:
asc builds expire-all --app "APP_ID" --older-than 90d --dry-run
- Apply expiration:
asc builds expire-all --app "APP_ID" --older-than 90d --confirm
- Single build:
asc builds expire --build-id "BUILD_ID" --confirm
Notes
asc builds uploadprepares upload operations only; useasc publishfor end-to-end flows.- For long processing times, use
--wait,--poll-interval, and--timeoutwhere supported.