asc versions
asc versions commands: App Store versions of an app, from creating one and attaching a build to releasing it, phased release, rating reset and promotions.
asc versions manages an app’s App Store versions: the record for each release on each platform, the build attached to it, how and when it is released, and its phased rollout. Version IDs are App Store Connect resource IDs; several commands also take --app with a version string such as 1.2.3 and --platform. Submitting a version for review is covered on asc: review and release. Picking an Apple team, output, pagination, --confirm and exit codes work as described on the asc page; the flag tables below leave out --output, --pretty, --limit, --next, --paginate and the --…-fields flags, which are explained there. A flag marked “Required” is checked before any request, and leaving it out exits 2; where --app is required, ASC_APP_ID can stand in for it. List commands don’t need their required ID flags when you pass --next; --type on links is still required.
| Subcommand | What it does |
|---|---|
| list | List app store versions for an app. |
| view | View details for an app store version. |
| links | List relationship linkages for an app store version. |
| experiments-v2 | Manage App Store version experiments (v2). |
| customer-reviews | Manage App Store version customer reviews. |
| app-clip-default-experience | Manage App Clip default experience for a version. |
| create | Create a new app store version. |
| update | Update an app store version. |
| delete | Delete an app store version (only versions in PREPARE_FOR_SUBMISSION state). |
| attach-build | Attach a build to an app store version. |
| release | Release an approved version pending developer release. |
| phased-release | Manage phased release for app store versions. |
| rating-reset | Manage the overview-rating reset for an App Store version. |
| promotions | Manage App Store version promotions. |
asc versions create --app "APP_ID" --version "2.4.0" --copy-metadata-from "2.3.2"
asc versions attach-build --app "APP_ID" --version "2.4.0" --build-number "45"list
List app store versions for an app. Prints Apple’s appStoreVersions list; --include adds the related resources to the same response instead of one request per version.
Apple marks a live version as READY_FOR_DISTRIBUTION (appVersionState) or the older READY_FOR_SALE (appStoreState), not always consistently, and --state filters on one spelling at a time, so no single --state value finds every live version. --latest fetches all pages and keeps the newest version per platform; with --state READY_FOR_DISTRIBUTION that is the live version where Apple reports it. To also catch a live version that reports only READY_FOR_SALE, list --state READY_FOR_SALE --paginate instead of --latest, skip results whose appVersionState is present and not READY_FOR_DISTRIBUTION, and keep the newest per platform across both lists. Review-detail passwords in --include results are redacted unless --include-sensitive.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). Required. | — |
--include |
Include related resources: app, appStoreVersionLocalizations, build, appStoreVersionPhasedRelease, gameCenterAppVersion, routingAppCoverage, appStoreReviewDetail, appStoreVersionSubmission, appClipDefaultExperience, appStoreVersionExperiments, appStoreVersionExperimentsV2, alternativeDistributionPackage. | — |
--include-sensitive |
Prints secret values, such as the demo account password, instead of (redacted), for this run only. Never paste this output into a chat, issue or log. |
off |
--latest |
Keep only the newest version per platform by createdDate (fetches all pages). | off |
--platform |
Filter by platform: IOS, MAC_OS, TV_OS, VISION_OS (comma-separated). | — |
--state |
Filter by state (comma-separated). | — |
--version |
Filter by version string (comma-separated). | — |
asc versions list --app "1234567890" --state READY_FOR_DISTRIBUTION --latestview
View details for an app store version. Prints Apple’s appStoreVersions envelope with every attribute Apple returns.
Pick the version with --version-id, or with --app and --version (and --platform). --include-build is the same as --include build; --include-submission the same as --include appStoreVersionSubmission.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). | — |
--include |
Include related resources: ageRatingDeclaration, app, appStoreVersionLocalizations, build, appStoreVersionPhasedRelease, gameCenterAppVersion, routingAppCoverage, appStoreReviewDetail, appStoreVersionSubmission, appClipDefaultExperience, appStoreVersionExperiments, appStoreVersionExperimentsV2, alternativeDistributionPackage. | — |
--include-build |
Include attached build information. | off |
--include-sensitive |
Prints secret values, such as the demo account password, instead of (redacted), for this run only. Never paste this output into a chat, issue or log. |
off |
--include-submission |
Include submission information. | off |
--platform |
Platform used with –app and –version: IOS, MAC_OS, TV_OS, VISION_OS. | IOS |
--version |
Version string used with –app. | — |
--version-id |
App Store version ID. | — |
asc versions view --version-id "VERSION_ID"links
List relationship linkages for an app store version: the type and ID of each linked resource.
| Flag | What it does | Default |
|---|---|---|
--type |
Relationship type; must be one of: ageRatingDeclaration, alternativeDistributionPackage, appClipDefaultExperience, appStoreReviewDetail, appStoreVersionExperiments, appStoreVersionExperimentsV2, appStoreVersionSubmission, customerReviews, gameCenterAppVersion, routingAppCoverage. Required. | — |
--version-id |
App Store version ID (not an app ID; list IDs with “asc versions list –app APP_ID”). Required. | — |
--limit, --next and --paginate apply to to-many relationships such as customerReviews and appStoreVersionExperiments.
asc versions links --version-id "VERSION_ID" --type "appStoreReviewDetail"experiments-v2
Manage App Store version experiments (v2).
| Subcommand | What it does |
|---|---|
list |
List v2 experiments for an app store version. |
experiments-v2 list
List v2 experiments for an app store version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
App Store version ID. Required. | — |
asc versions experiments-v2 list --version-id "VERSION_ID"customer-reviews
Manage App Store version customer reviews.
| Subcommand | What it does |
|---|---|
list |
List customer reviews for an app store version. |
customer-reviews list
List customer reviews for an app store version.
The filters are the same as on asc reviews list.
| Flag | What it does | Default |
|---|---|---|
--include |
Comma-separated relationships to include: response,reviewTerritory. | — |
--include-response |
Include customer review response relationships. | off |
--only-unresponded |
Only list reviews without a published response. | off |
--response-state |
Filter by response state: any, unresponded/unreplied, responded/replied. | any |
--review-territory |
Filter by related review territory IDs, comma-separated, such as USA,GBR. |
— |
--sort |
Sort by rating, -rating, createdDate, -createdDate. | — |
--stars |
Filter by star ratings, comma-separated (1-5). | — |
--territory |
Filter by App Store territories, comma-separated, such as USA,GBR. |
— |
--version-id |
App Store version ID. Required. | — |
asc versions customer-reviews list --version-id "VERSION_ID" --stars 1,2app-clip-default-experience
Manage App Clip default experience for a version.
| Subcommand | What it does |
|---|---|
view |
View App Clip default experience for an app store version. |
app-clip-default-experience view
View App Clip default experience for an app store version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
App Store version ID. Required. | — |
asc versions app-clip-default-experience view --version-id "VERSION_ID"create
Create a new app store version.
--if-exists decides what happens when the version already exists for that platform: fail returns the error; skip reads it back, exits 0 and reports "action":"skipped" without changing it; update applies --copyright, --release-type, --earliest-release-date and --review-type to it (as versions update), attaches --build-id (as versions attach-build) and reports "action":"updated". --copy-metadata-from still runs on an existing version. skip cannot be combined with --build-id. --copy-fields and --exclude-fields need --copy-metadata-from.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID (or ASC_APP_ID). Required. | — |
--build-id |
Build ID to attach to the version. | — |
--copy-fields |
Comma-separated metadata fields to copy: description, keywords, marketingUrl, promotionalText, supportUrl, whatsNew. | — |
--copy-metadata-from |
Copy localization metadata from this source version string. | — |
--copyright |
Copyright text, such as 2026 My Company. |
— |
--earliest-release-date |
Earliest release date as an RFC 3339 timestamp, such as 2026-02-01T08:00:00+00:00. |
— |
--exclude-fields |
Comma-separated metadata fields to leave out of the copy (same values as --copy-fields). |
— |
--if-exists |
Behavior when the resource already exists: fail, skip, update. | fail |
--platform |
Platform: IOS, MAC_OS, TV_OS, VISION_OS. | IOS |
--release-type |
Release type: MANUAL, AFTER_APPROVAL, SCHEDULED. | — |
--review-type |
Review type: APP_STORE, NOTARIZATION. | — |
--version |
Version string, such as 1.0.0. Required. |
— |
asc versions create --app "1234567890" --version "2.4.0" --copy-metadata-from "2.3.2" --copy-fields "description,keywords,supportUrl"update
Update an app store version. Pass at least one of --copyright, --release-type, --review-type, --earliest-release-date, --version or --downloadable.
--downloadable controls whether a released version can still be downloaded on older OS versions and devices (App Store Connect’s Last-Compatible Version setting). Left out, nothing changes. false cannot be undone from every state, so it needs --confirm. Read the current value with versions view --version-id VERSION_ID --output json, or versions list --app APP_ID --paginate --output json (the oldest versions, which this setting usually targets, are past the first page); Apple omits it for versions that never had it.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm making this version unavailable for download (required with –downloadable false). | — |
--copyright |
Copyright text, such as 2026 My Company. |
— |
--downloadable |
Download availability for this version on older operating systems and devices: true or false. | — |
--earliest-release-date |
Earliest release date as an RFC 3339 timestamp, such as 2026-02-01T08:00:00+00:00. |
— |
--release-type |
Release type: MANUAL, AFTER_APPROVAL, SCHEDULED. | — |
--review-type |
Review type: APP_STORE, NOTARIZATION. | — |
--version |
Version string, such as 1.0.1. |
— |
--version-id |
App Store version ID. Required. | — |
asc versions update --version-id "VERSION_ID" --copyright "2026 My Company"delete
Delete an app store version (only versions in PREPARE_FOR_SUBMISSION state).
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | off |
--version-id |
App Store version ID. Required. | — |
asc versions delete --version-id "VERSION_ID" --confirmattach-build
Attach a build to an app store version.
Pick the version with --version-id, or --app and --version (and --platform). Pick the build with --build-id, --build-number or --latest; the last two only match builds of that app, version string and platform. The build must be VALID; --wait waits for processing first. Right after an upload, prefer --build-number: --latest can still return the previous upload.
Give --version-id or --version (with --app), and exactly one of --build-id, --build-number and --latest. Find the IDs with asc versions list --app "APP_ID" --paginate --output json and asc builds list --app "APP_ID" --paginate --output json.
| Flag | What it does | Default |
|---|---|---|
--app |
App Store Connect app ID, bundle ID, or exact app name (or ASC_APP_ID). | — |
--build-id |
Build ID to attach. | — |
--build-number |
Build number (CFBundleVersion) to attach from the version’s app, version string, and platform. | — |
--latest |
Attach the most recently uploaded App Store eligible build for the version’s app, version string, and platform. | off |
--platform |
Platform: IOS, MAC_OS, TV_OS, VISION_OS. | IOS |
--poll-interval |
Polling interval for –wait. | 30s |
--timeout |
Maximum time to wait with –wait. | 15m |
--version |
App Store version string. | — |
--version-id |
App Store version ID. | — |
--wait |
Wait for the selected build to finish processing (VALID) before attaching. | off |
asc versions attach-build --app "1234567890" --version "1.2.0" --build-number "46" --wait --timeout 30mrelease
Release an approved version pending developer release.
Releases a version in Pending Developer Release. The request is sent once. If Apple answers with a server error or times out, the version is read back; if it has left Pending Developer Release the command succeeds, reports reconciled: true and prints a note on stderr.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm release request. Required. | off |
--version-id |
App Store version ID. Required. | — |
asc versions release --version-id "VERSION_ID" --confirmphased-release
Manage phased release for app store versions.
A phased release rolls an update out over 7 days: 1%, 2%, 5%, 10%, 20%, 50%, then 100%. It can be paused, resumed or completed at any time.
| Subcommand | What it does |
|---|---|
view |
View phased release status for an app store version. |
create |
Create a phased release for an app store version. |
update |
Update a phased release state. |
delete |
Delete a phased release. |
guard |
Pause a phased release when a health check fails. |
phased-release view
View phased release status for an app store version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
App Store version ID. Required. | — |
asc versions phased-release view --version-id "VERSION_ID"phased-release create
Create a phased release for an app store version.
The rollout starts when the version is released. --state ACTIVE starts it right away; otherwise it starts INACTIVE.
| Flag | What it does | Default |
|---|---|---|
--state |
Initial state: INACTIVE, ACTIVE (optional, defaults to INACTIVE). | — |
--version-id |
App Store version ID. Required. | — |
asc versions phased-release create --version-id "VERSION_ID"phased-release update
Update a phased release state.
ACTIVE resumes the rollout; PAUSED pauses it (people who already have the update keep it); COMPLETE releases to everyone now and needs --confirm; without it the command refuses.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm COMPLETE, which releases the update to all users immediately. | off |
--id |
Phased release ID. Required. | — |
--state |
New state: ACTIVE, PAUSED, COMPLETE. Required. | — |
asc versions phased-release update --id "PHASED_ID" --state PAUSEDphased-release delete
Delete a phased release.
Removes the phased release, so the version goes to everyone at once when it is released.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm deletion. Required. | off |
--id |
Phased release ID. Required. | — |
asc versions phased-release delete --id "PHASED_ID" --confirmphased-release guard
Pause a phased release when a health check fails.
Needs --confirm (to act) or --dry-run (to only report), and a check command after --. While the rollout is ACTIVE, runs the command after -- every --poll-interval, without a shell, its output on stderr. A non-zero exit, or a run longer than --check-timeout, pauses the release. With --complete-on-day N, a passing check on day N or later completes it. The check gets ASC_PHASED_RELEASE_VERSION_ID, ASC_PHASED_RELEASE_ID, ASC_PHASED_RELEASE_STATE, ASC_PHASED_RELEASE_DAY and ASC_PHASED_RELEASE_CHECK (the check number, from 1).
The guard stops when the release is COMPLETE, PAUSED or INACTIVE and prints an outcome: paused, would-pause, completed, would-complete, already-complete, already-paused, inactive or max-polls. It exits 0 when no check failed, 1 when a check failed (the release was paused, or would be with --dry-run) or could not start, and 2 on wrong usage; other codes are as on asc.
| Flag | What it does | Default |
|---|---|---|
--check-timeout |
Maximum run time for one health check; a timed-out check counts as failed. | 5m |
--complete-on-day |
Complete the release when a check passes on or after this rollout day (1-7, 0 = never). | 0 |
--confirm |
Allow the guard to pause or complete the phased release. | off |
--dry-run |
Run checks and report what the guard would do without changing the phased release. | off |
--max-polls |
Maximum polls before exiting (0 = until the release leaves ACTIVE). | 0 |
--poll-interval |
Time between health checks. | 15m |
--version-id |
App Store version ID. Required. | — |
asc versions phased-release guard --version-id "VERSION_ID" --dry-run -- ./scripts/health-check.shrating-reset
Manage the overview-rating reset for an App Store version.
Resets the overview (star) rating that a version shows when it is released. Apple’s public API has no endpoint for this, so these commands use the Team owner’s Apple sign-in (see asc) and may stop working if Apple changes App Store Connect. A reset covers every country or region for the platform; written reviews stay visible. It can be canceled before release; after release the previous rating cannot be restored.
| Subcommand | What it does |
|---|---|
view |
View the overview-rating reset scheduled for an App Store version. |
create |
Schedule an overview-rating reset when an App Store version is released. |
delete |
Cancel a scheduled overview-rating reset before release. |
rating-reset view
View the overview-rating reset scheduled for an App Store version.
| Flag | What it does | Default |
|---|---|---|
--version-id |
App Store version ID. Required. | — |
asc versions rating-reset view --version-id "VERSION_ID"rating-reset create
Schedule an overview-rating reset when an App Store version is released.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm scheduling the rating reset. Required. | off |
--version-id |
App Store version ID. Required. | — |
asc versions rating-reset create --version-id "VERSION_ID" --confirmrating-reset delete
Cancel a scheduled overview-rating reset before release.
Use the request ID from rating-reset view or rating-reset create.
| Flag | What it does | Default |
|---|---|---|
--confirm |
Confirm cancellation. Required. | off |
--id |
Rating reset request ID. Required. | — |
asc versions rating-reset delete --id "RESET_REQUEST_ID" --confirmpromotions
Manage App Store version promotions.
Apple’s API supports only creating version promotions, so there is only create.
| Subcommand | What it does |
|---|---|
create |
Create an app store version promotion. |
promotions create
Create an app store version promotion.
| Flag | What it does | Default |
|---|---|---|
--treatment-id |
App Store version experiment treatment ID. Required. | — |
--version-id |
App Store version ID. Required. | — |
asc versions promotions create --version-id "VERSION_ID" --treatment-id "TREATMENT_ID"