Agent commands

asc commands to see where a release stands, check it is ready, upload and submit it, follow App Review, and answer customer reviews.

These asc commands take a build to testers or to the App Store and follow it through review. Picking an Apple team (--auth), output, pagination, --confirm and exit codes work as described on the asc page.

To Use
See where an app’s release stands asc status --app APP_ID
Check a version is ready to submit asc validate --app APP_ID --version 1.2.3
Upload an IPA and give it to TestFlight groups asc publish testflight --app APP_ID --ipa App.ipa --group GROUP --wait
Upload an IPA and submit the version for review asc publish appstore --app APP_ID --ipa App.ipa --version 1.2.3 --submit --confirm
Prepare a version without submitting asc release stage …
Submit a version that is already prepared asc review submit …
See why review is blocked, or cancel a submission asc review doctor, asc submit cancel

Build the signed .ipa with runbuild --sign first.

The flag tables below leave out the flags almost every command has: --output and --pretty (see Output), --limit, --next and --paginate on list commands (see Pagination), and the --…-fields flags that pick which attributes Apple returns. Run asc <family> <subcommand> --help for every flag, its values and examples.

status

A release dashboard for one app: app, builds, TestFlight, App Store version, submission, review, phased release and links, in one result. summary.nextCommands lists asc commands that fit the current state, with a reason and whether each one changes App Store Connect (left out under --read-only).

Flag What it does Default
--app App ID, bundle ID or exact app name (or ASC_APP_ID). Required. —
--platform Only that platform: IOS, MAC_OS, TV_OS or VISION_OS. all
--include Only those sections, comma-separated: app, builds, testflight, appstore, submission, review, phased-release, links. all
--watch Keeps polling and prints a new snapshot when something changes. off
--poll-interval Time between polls. 30s
--max-polls Stops after that many polls; 0 is no limit. 0
--until Polls like --watch until a condition is met (below), then prints a final {"until","reached","outcome","state","polls"} and exits. —
--timeout How long --until may wait; 0s is no limit. 0s

How --until exits:

Condition Exits 0 when Exits 1 when
review-done The newest App Store version is approved (ACCEPTED, PENDING_*_RELEASE, PROCESSING_FOR_DISTRIBUTION, READY_FOR_DISTRIBUTION). It is REJECTED, METADATA_REJECTED, INVALID_BINARY or DEVELOPER_REJECTED.
ready-for-sale The newest version is READY_FOR_DISTRIBUTION. It is rejected as above.
processed The newest build is VALID. It is FAILED or INVALID.
testflight-ready The newest build is READY_FOR_BETA_TESTING or IN_BETA_TESTING for internal testing. It is PROCESSING_EXCEPTION, MISSING_EXPORT_COMPLIANCE or EXPIRED.
change Any snapshot differs from the first. —

Conditions are checked on every snapshot, the first one included. If --timeout, --max-polls or an interrupt ends the wait first, the result says pending and the command exits 7.

Terminal window
asc status --app "APP_ID" --until review-done --timeout 2h

validate

The readiness report for an App Store version, before you submit it. The result starts with an ordered list of fixes, so the first one is the next thing to do.

Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--version The App Store version string to check. see below
--version-id The App Store version ID to check, instead of --version. see below
--platform IOS, MAC_OS, TV_OS or VISION_OS. Needed when the chosen version could be on more than one platform. —
--strict Warnings count as errors (non-zero exit). off
--ipa The version’s .ipa. Its device family decides whether iPad screenshots are required, and it proves the SDK the app was built with. Its bundle ID, version and build number must match. —
--check-urls Also opens the listing’s public URLs to see that they answer. off
--deep Also checks that first in-app purchases are attached to the version, and, through the Team owner’s Apple sign-in, App Privacy publication, required agreements and first subscriptions. Each finding is marked api-fixable, web-fixable or manual, with the command or App Store Connect link to fix it. It never starts a sign-in. off
--apple-id Which saved Apple sign-in --deep uses. —

Without --version or --version-id, it checks the app’s newest editable version; if there is none, a version removed from sale by the developer; else the newest live version. The version it chose is printed on stderr. A live version picked this way is checked like any other and can still block.

It checks, among other things: metadata length limits; placeholder, test or other-platform wording (warnings; --strict blocks); required fields and localizations; review details; primary category; an attached, processed build and its encryption declaration; the build against Apple’s upload requirement announced for April 2027; content rights; price schedule and availability; screenshot presence and sizes per locale; iPad screenshots when the build runs on iPad (with --ipa); subscription readiness; custom product page keywords; and age rating. Without --ipa, a version with iPhone screenshots and no 12.9-inch iPad Pro set in the primary locale gets an informational note instead of a blocker.

Terminal window
asc validate --app "APP_ID" --version "1.0.0" --platform IOS
Subcommand What it does
testflight Validate TestFlight build readiness before distribution.
iap Validate IAP review readiness (warning-only by default).
subscriptions Validate subscription metadata, screenshot delivery, pricing, and availability.

validate testflight

Checks a build before you give it to testers: it exists and finished processing, beta app review details are complete, and at least one localization has “What to Test” notes.

Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--build-id The build to check. Required. —
--strict Warnings count as errors (non-zero exit). off
Terminal window
asc validate testflight --app "APP_ID" --build-id "BUILD_ID"

validate iap

Checks the app’s in-app purchases for review. It only warns about purchases that look unsubmitted or need action; add --strict to make warnings fail, for example in CI.

Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--strict Warnings count as errors (non-zero exit). off
Terminal window
asc validate iap --app "APP_ID"

validate subscriptions

Checks auto-renewable subscriptions for review. For subscriptions in MISSING_METADATA, it looks at group and subscription localizations, the App Review screenshot, availability and prices in every territory. It also gives advice on the promotional images Apple uses for App Store promotion, offer code pages and win-back offers.

Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--strict Warnings count as errors (non-zero exit). off
Terminal window
asc validate subscriptions --app "APP_ID"

publish

High-level upload flows. To prepare a version without submitting it, use release stage.

Subcommand What it does
testflight Uploads a build (or takes one already uploaded) and adds it to TestFlight groups.
appstore Uploads a build, makes sure the App Store version exists, attaches the build and, with --submit --confirm, submits it for review.

Both also have a local-build mode that runs xcodebuild itself instead of taking --ipa or --pkg. In AirBuild, build with runbuild --sign and pass --ipa instead. The local-build flags of both:

Flag What it does Default
--project / --workspace The .xcodeproj or .xcworkspace to build. —
--scheme The Xcode scheme. —
--configuration The build configuration. Release
--export-options An ExportOptions.plist. —
--signing-style For generated export options: automatic or manual. automatic
--team-id Apple Developer Team ID for generated export options; overrides the archive’s. —
--archive-path Where to write the .xcarchive. —
--ipa-path Where to write the .ipa. —
--pkg-path Where to write the macOS .pkg. —
--initial-build-number The first build number when it picks build numbers itself. 1
--clean Cleans before archiving. off
--archive-xcodebuild-flag Passes an argument to xcodebuild when archiving. Repeatable. —
--export-xcodebuild-flag Passes an argument to xcodebuild when exporting. Repeatable. —

publish testflight

Uploads an .ipa or macOS .pkg (or uses a build already uploaded), waits for processing when needed, adds the build to beta groups, optionally notifies testers and, with --submit --confirm, submits it for beta app review.

Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--ipa A prebuilt .ipa (iOS, tvOS, visionOS). —
--pkg A prebuilt macOS .pkg. Needs --version and --build-number. —
--build-id Uses a build already uploaded instead of uploading. —
--build-number Build number. Required with --pkg; without a file, finds the uploaded build with that number. from the IPA
--version Marketing version. Required with --pkg. from the IPA
--platform IOS, MAC_OS, TV_OS or VISION_OS. IOS
--group Beta group IDs or names, comma-separated. —
--test-notes “What to Test” notes for the build. —
--locale The language of --test-notes, like en-US. —
--notify Notifies testers once the build is in their groups. off
--upload-only Uploads and returns the build, without adding groups or submitting. off
--wait Waits for Apple to process the build. --test-notes and --submit wait too. off
--poll-interval Time between checks while waiting and looking for the build. 30s
--timeout Limit for upload and processing, like 30m; 0s uses the default limits (30 minutes for requests, or ASC_TIMEOUT; the upload default, or ASC_UPLOAD_TIMEOUT). 0s
--submit Submits for beta app review after adding external groups. Needs --confirm. off
--confirm Confirms --submit. off
Terminal window
asc publish testflight --app "APP_ID" --ipa App.ipa --group "External Testers" --submit --confirm

publish appstore

The App Store upload and submit flow: uploads an .ipa or macOS .pkg, optionally waits for processing, finds or creates the App Store version, applies metadata, attaches the build and, with --submit --confirm, submits it for App Review. Run validate before adding --submit.

Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--ipa A prebuilt .ipa (iOS, tvOS, visionOS). —
--pkg A prebuilt macOS .pkg. Needs --version and --build-number. —
--version The App Store version. Required with --pkg. from the IPA
--build-number Build number. Required with --pkg. from the IPA
--platform IOS, MAC_OS, TV_OS or VISION_OS. IOS
--metadata-dir Applies the metadata in version/<version>/*.json under that folder once the version exists. —
--wait Waits for Apple to process the build. off
--poll-interval Time between checks while waiting and looking for the build. 30s
--timeout Limit for upload and processing, and for the submission with --submit, like 30m; 0s uses the default limits (30 minutes for requests, or ASC_TIMEOUT; the upload default, or ASC_UPLOAD_TIMEOUT). 0s
--dry-run Shows the plan without uploading or submitting. off
--submit Submits for App Review after attaching the build. Needs --confirm. off
--confirm Confirms --submit. off

After --submit, follow the review with asc status --app APP_ID --watch.

Terminal window
asc publish appstore --app "APP_ID" --ipa App.ipa --version 1.2.3 --metadata-dir ./metadata --submit --confirm

release

High-level App Store release workflows. To upload and submit in one go, use publish appstore instead; to follow a submission, status.

Subcommand What it does
stage Prepares an App Store version for review without submitting it.

release stage

release stage prepares an App Store version for review without submitting it, and prints each step’s result. In order, it:

  1. Checks that --build-id exists, belongs to --app and matches --platform.
  2. Creates the version if it does not exist.
  3. Applies metadata from --metadata-dir, or copies it from another version with --copy-metadata-from.
  4. Uploads routing app coverage when --routing-coverage-file is given.
  5. Attaches the build.
  6. Runs the readiness checks.
Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--version The App Store version string. Required. —
--build-id The build to attach. Required. —
--platform IOS, MAC_OS, TV_OS or VISION_OS. IOS
--metadata-dir Metadata files to apply. Exactly one of this or --copy-metadata-from is required. —
--allow-deletes With --metadata-dir, lets it delete what the files don’t have (and turns off the default-locale fallback for missing locales). off
--copy-metadata-from A version string to copy localization text from, into locales the new version already has. —
--copy-fields / --exclude-fields Which fields to copy, or not: description, keywords, marketingUrl, promotionalText, supportUrl, whatsNew, comma-separated. all
--routing-coverage-file A GeoJSON routing coverage file to apply before the readiness checks. —
--dry-run Shows the plan; changes nothing. off
--confirm Confirms the changes. Required unless --dry-run. off
--strict-validate Readiness warnings block too. off
--checkpoint-file Where to keep progress, so a rerun resumes. —
--timeout Limit for the whole run. 30m

Neither metadata source sets the age rating, screenshots, review details, category or pricing. Until those are complete and the build is ready, the last step fails: the earlier steps stay applied, the blockers are printed on stderr, and the command exits 1. Fix them and run the same command again; it resumes. asc validate --app APP_ID --version 2.4.0 lists what is left.

release stage stops before creating a review submission; submit it afterwards with asc review submit.

Terminal window
asc release stage --app "APP_ID" --version "2.4.0" --build-id "BUILD_ID" --metadata-dir "./metadata" --confirm

review

Manage App Store review details, attachments, and submissions. Every subcommand and flag: asc review.

submit

Submission lifecycle tools; use publish appstore --submit to ship and validate to check readiness.

Subcommand What it does
status Check submission status.
cancel Cancel a submission.

submit status

Shows a review submission’s status, found by its ID or by the App Store version.

Flag What it does Default
--id The submission ID. —
--version-id The App Store version ID, instead of --id. —
Terminal window
asc submit status --version-id "VERSION_ID"

submit cancel

Cancels an active review submission, by its ID or by the App Store version.

Flag What it does Default
--id The submission ID. —
--version-id The App Store version ID, instead of --id. —
--app The app ID (or ASC_APP_ID). With --version-id, add it so the submission is found reliably. —
--confirm Confirms the cancellation. Required. off
Terminal window
asc submit cancel --version-id "VERSION_ID" --app "APP_ID" --confirm

reviews

List and manage App Store customer reviews. Every subcommand and flag: asc reviews.

release-notes

Generate and manage App Store release notes.

Subcommand What it does
generate Generate release notes from git history.

release-notes generate

Writes “What’s New” text from the local git history of the current repository. Besides json, table and markdown, --output here also takes text.

Flag What it does Default
--since-tag Starts after this tag, like v1.2.2. —
--since-ref Starts after this ref or commit, like origin/main. —
--until-ref Ends at this ref or commit (included). HEAD
--format Notes format: plain or markdown. plain
--include-merges Includes merge commits. off
--max-chars Cuts the notes to this many characters. 4000

Exactly one of --since-tag or --since-ref is required.

Terminal window
asc release-notes generate --since-tag "v1.2.2"

Examples

Submit version 1.2.3 with a signed build, then wait for the review result:

Terminal window
asc validate --app "APP_ID" --version "1.2.3" --ipa ./App.ipa
asc publish appstore --app "APP_ID" --ipa ./App.ipa --version "1.2.3" --submit --confirm
asc status --app "APP_ID" --until review-done --timeout 48h

Send a build to a TestFlight group and wait until testers can install it:

Terminal window
asc publish testflight --app "APP_ID" --ipa ./App.ipa --group "Beta" --wait

Stage a version with the previous version’s text, without submitting:

Terminal window
asc release stage --app "APP_ID" --version "2.4.0" --build-id "BUILD_ID" --copy-metadata-from "2.3.2" --dry-run
asc release stage --app "APP_ID" --version "2.4.0" --build-id "BUILD_ID" --copy-metadata-from "2.3.2" --confirm

Find unanswered one- and two-star reviews:

Terminal window
asc reviews --app "APP_ID" --stars 1,2 --only-unresponded --output table