# 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.

- Skill: `omega-bred/asc-build-lifecycle` (Agent Skill)
- Install (CLI): `npx skillmds add omega-bred/asc-build-lifecycle`
- Raw SKILL.md: https://api.skillmd.com/api/skills/omega-bred/asc-build-lifecycle/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra, Deployment & Release
- Tags: App Store Connect, Appstore, Asc, Build Management, Ios, Testflight
- Author: omega-bred (https://skillmd.com/u/omega-bred)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/omega-bred/asc-build-lifecycle

---


# 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" --wait`
  - `asc 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 upload` prepares upload operations only; use `asc publish` for end-to-end flows.
- For long processing times, use `--wait`, `--poll-interval`, and `--timeout` where supported.

