Agent commands

asc commands for uploading and inspecting builds, TestFlight groups and testers, release notes per build, local IPA and package checks, and sandbox testers.

These asc families work with builds once they exist: uploading them, waiting for Apple to process them, and handing them to TestFlight testers. Picking an Apple team (--auth), output, pagination, --confirm and exit codes work as described on the asc page.

In AirBuild, make the signed .ipa with runbuild --sign, then upload it with asc publish testflight (see asc: review and release) or asc builds upload.

In the tables below, Main flags leaves 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. Where a subcommand has subcommands of its own, they are listed instead.

Picking a build

Commands that act on one build take either --build-id BUILD_ID, or --app APP with one of:

Selector Picks
--latest The newest build of the app. Narrow it with --version (marketing version), --platform, --processing-state or --exclude-expired.
--build-number N --platform P The build with that build number (CFBundleVersion). --platform is required with it.

--app accepts an app ID, a bundle ID or the exact app name on these commands.

builds

Manage builds in App Store Connect.

Subcommand What it does Main flags
list List builds for an app in App Store Connect. --app, --beta-review-state, --build-number, --exclude-expired, --include, --not-expired, --platform, --processing-state, --sort, --version
count Count total builds for an app in App Store Connect. --app, --beta-review-state, --build-number, --exclude-expired, --not-expired, --platform, --processing-state, --version
next-build-number Calculate the next build number for an app. --app, --exclude-expired, --initial-build-number, --not-expired, --platform, --processing-state, --version
wait Wait for a build to finish processing. --app, --build-id, --build-number, --fail-on-invalid, --latest, --platform, --poll-interval, --report-pending, --since, --timeout, --version
info Show details for a specific build. --app, --build-id, --build-number, --exclude-expired, --include, --latest, --not-expired, --platform, --processing-state, --version
expire Expire a build for TestFlight. --app, --build-id, --build-number, --confirm, --exclude-expired, --latest, --not-expired, --platform, --version
expire-all Expire multiple TestFlight builds for an app. --app, --confirm, --dry-run, --keep-latest, --older-than, --version
upload Upload a build to App Store Connect. --app, --build-number, --checksum, --concurrency, --dry-run, --include-sensitive, --ipa, --locale, --pkg, --platform, --poll-interval, --test-notes, --verify-timeout, --version, --wait
uploads Manage build uploads. subcommands: list, view, delete, files
test-notes Manage TestFlight What to Test notes. subcommands: list, view, create, update, delete
app-encryption-declaration Get the app encryption declaration for a build. subcommands: view
groups View TestFlight beta groups for builds. subcommands: list
update Update build attributes. --app, --build-id, --build-number, --exclude-expired, --latest, --not-expired, --platform, --uses-non-exempt-encryption, --version
add-groups Add beta groups to a build for TestFlight distribution. --app, --build-id, --build-number, --confirm, --dry-run, --exclude-expired, --group, --latest, --not-expired, --platform, --skip-internal, --submit, --version
remove-groups Remove beta groups from a build. --app, --build-id, --build-number, --confirm, --exclude-expired, --group, --latest, --not-expired, --platform, --version
individual-testers Manage individual testers for a build. subcommands: list, add, remove
app View the app related to a build. subcommands: view
pre-release-version View the pre-release version related to a build. subcommands: view
icons List build icons for a build. subcommands: list
beta-app-review-submission View beta app review submission for a build. subcommands: view
build-beta-detail View build beta detail for a build. subcommands: view
links View build relationship linkages. subcommands: view
metrics Fetch build metrics. subcommands: beta-usages
dsyms Download dSYM files for one or more builds. --after-uploaded-date, --all, --app, --build-id, --build-number, --exclude-expired, --latest, --min-version, --not-expired, --output-dir, --platform, --poll-interval, --timeout, --version, --wait

The sections below cover every builds subcommand. Where a table says Build selector, pick the build with --build-id, or with --app and --latest or --build-number plus --platform, narrowed with --version and --exclude-expired (alias --not-expired), as in Picking a build. The tables leave out --output, --pretty, --limit, --next, --paginate and the --…-fields flags (see asc).

builds list

Lists an app’s builds, with their processing state and expiration date.

Flag What it does Default
--app App ID, bundle ID or exact app name. ASC_APP_ID
--version Only this marketing version (CFBundleShortVersionString). —
--build-number Only this build number (CFBundleVersion). —
--platform IOS, MAC_OS, TV_OS or VISION_OS. —
--processing-state VALID, PROCESSING, FAILED, INVALID or all. —
--beta-review-state Beta app review states, comma-separated: WAITING_FOR_REVIEW, IN_REVIEW, REJECTED, APPROVED. —
--exclude-expired Leave out expired builds. Alias --not-expired. off
--include Related records to add, comma-separated: preReleaseVersion, individualTesters, betaGroups, betaBuildLocalizations, appEncryptionDeclaration, betaAppReviewSubmission, app, buildBetaDetail, appStoreVersion, icons, buildBundles, buildUpload. —
--sort version, uploadedDate or preReleaseVersion, with - for descending. —
Terminal window
asc builds list --app "1234567890" --platform IOS --version "1.2.3"

builds count

Prints how many builds of an app match the filters, without listing them. It takes the same filters as builds list.

Flag What it does Default
--app App ID, bundle ID or exact app name. Required. ASC_APP_ID
--version Only this marketing version. —
--build-number Only this build number. —
--platform IOS, MAC_OS, TV_OS or VISION_OS. —
--processing-state VALID, PROCESSING, FAILED, INVALID or all. —
--beta-review-state Beta app review states, comma-separated. —
--exclude-expired Leave out expired builds. Alias --not-expired. off
Terminal window
asc builds count --app "1234567890" --processing-state VALID

builds next-build-number

Prints the next build number that should be safe to use: one above the highest number among processed builds and uploads still in progress. The result also names the latest processed and latest seen build numbers and the sources considered.

Flag What it does Default
--app App ID, bundle ID or exact app name. Required. ASC_APP_ID
--version Only builds of this marketing version. —
--platform IOS, MAC_OS, TV_OS or VISION_OS. —
--processing-state VALID, PROCESSING, FAILED, INVALID or all. —
--exclude-expired Leave out expired builds when finding the latest processed one. Alias --not-expired. off
--initial-build-number The number to print when the app has no builds. 1
Terminal window
asc builds next-build-number --app "1234567890" --version "1.2.3" --platform IOS

builds info

Shows one build.

Flag What it does Default
Build selector The build. --app is required without --build-id. —
--processing-state With --latest, only builds in these states: VALID, PROCESSING, FAILED, INVALID or all. —
--include Related records to add, comma-separated (the same values as builds list). —
Terminal window
asc builds info --app "1234567890" --latest --version "1.2.3" --platform IOS

builds wait

Waits until a build has finished processing. VALID exits 0; FAILED exits non-zero; INVALID exits non-zero only with --fail-on-invalid. When the timeout comes first, it fails with the last known state and the command that resumes the wait; with --report-pending it instead prints a pending result (phase, the build or upload, elapsed time and the resume command) and exits 7. A failed upload is still a failure.

Flag What it does Default
--build-id The build. —
--app App ID, bundle ID or exact app name, with --latest or --build-number. Required without --build-id. —
--latest The newest matching build. off
--build-number The build with this build number. Needs --platform. —
--version Only this marketing version. —
--platform IOS, MAC_OS, TV_OS or VISION_OS. —
--since Only builds uploaded at or after this time (RFC 3339). —
--timeout How long to wait. 15m
--poll-interval Time between checks. 30s
--fail-on-invalid Exit non-zero if the build becomes INVALID. off
--report-pending On timeout, print the pending state and exit 7 instead of failing. off

--build-id, --app --latest and --app --build-number cannot be combined.

Terminal window
asc builds wait --app "1234567890" --latest --since "2026-03-02T18:00:00Z"

builds upload

Uploads an .ipa or .pkg to App Store Connect and commits it, then prints a receipt. The receipt includes the new build’s ID when --wait, --test-notes or --verify-timeout saw the build appear; otherwise a notice says how to look it up. Upload URLs and header values are redacted unless --include-sensitive.

Flag What it does Default
--app App ID; for an IPA also the exact bundle ID or name. Required. ASC_APP_ID
--ipa Path to an iOS, tvOS or visionOS build. —
--pkg Path to a macOS build. Give --version and --build-number with it. —
--version Marketing version (CFBundleShortVersionString). read from the IPA
--build-number Build number (CFBundleVersion). read from the IPA
--platform IOS, MAC_OS, TV_OS or VISION_OS. read from the IPA’s Info.plist (IOS for older archives); MAC_OS for --pkg
--wait Wait until Apple has processed the build. off
--poll-interval Time between checks for --wait and --test-notes. 30s
--test-notes TestFlight “What to Test” notes. Waits only until the build appears, then adds them; add --wait to also wait for processing. —
--locale Language of --test-notes, such as en-US. —
--verify-timeout How long to watch for a failure Apple reports right after the upload; 0 turns it off. 0s
--dry-run Reserve the upload without sending the file. off
--include-sensitive Print upload URLs and header values instead of (redacted), for this run only. off
--concurrency Parallel upload parts. 4
--checksum Verify upload checksums when Apple provides them. off
Terminal window
asc builds upload --app "1234567890" --ipa "path/to/app.ipa" --test-notes "Test flow" --locale "en-US"

builds update

Sets a build’s export compliance answer: whether it uses non-exempt encryption.

Flag What it does Default
Build selector The build. --app is required without --build-id. —
--uses-non-exempt-encryption true or false. Required. —
Terminal window
asc builds update --app "1234567890" --latest --uses-non-exempt-encryption=false

builds expire

Expires a build in TestFlight, so testers can no longer install it. This cannot be undone.

Flag What it does Default
Build selector The build. --app is required without --build-id. —
--confirm Confirm the expiration. Required. off
Terminal window
asc builds expire --build-id "BUILD_ID" --confirm

builds expire-all

Expires many of an app’s TestFlight builds at once. --older-than or --keep-latest is always required. Builds are ordered newest first by upload date, so --keep-latest N keeps the N most recent, counted after the --version filter.

Flag What it does Default
--app The app ID (or ASC_APP_ID). Required. —
--older-than Expire builds older than a duration (90d, 2w) or a date (YYYY-MM-DD). —
--keep-latest Keep the N most recent builds. 0
--version Only builds of this marketing version; other versions are left alone. It never expires anything on its own and cannot be empty. —
--dry-run List the builds that would be expired, without expiring them. off
--confirm Confirm the expiration. Required unless --dry-run. off
Terminal window
asc builds expire-all --app "1234567890" --older-than 90d --dry-run

builds add-groups

Gives a build to TestFlight beta groups, and with --submit --confirm submits it for beta app review. Before sending, it checks the build is processed and not expired; with an external group, also its encryption, audience and beta review state. If Apple does not return enough to confirm these, it stops without sending.

Flag What it does Default
Build selector The build. --app is required without --build-id. —
--group Beta group IDs or names, comma-separated. Required. —
--skip-internal Skip internal groups instead of adding them. off
--submit Submit the build for beta app review after adding external groups. off
--confirm Confirm the submission. Required with --submit. off
--dry-run Find the build and groups and preview, without adding or submitting. What it shows is advisory and does not predict whether Apple will accept the change. off
Terminal window
asc builds add-groups --build-id "BUILD_ID" --group "External Testers" --submit --confirm

builds remove-groups

Takes a build away from TestFlight beta groups.

Flag What it does Default
Build selector The build. --app is required without --build-id. —
--group Beta group IDs, comma-separated. Required. —
--confirm Confirm the removal. Required. off
Terminal window
asc builds remove-groups --build-id "BUILD_ID" --group "GROUP_ID" --confirm

builds dsyms

Downloads the dSYM files (debug symbols for crash symbolication) of one or more builds and prints a receipt. A single build’s file is named bundleId-version-buildNumber.dSYM.zip; with several builds the build ID is added to the name. An existing file is skipped only when its size and SHA-256 match.

Flag What it does Default
--build-id The build. —
--app App ID, bundle ID or app name. ASC_APP_ID
--latest The newest build. off
--version A marketing version, latest (same as --latest) or live (the newest App Store version that is live or ready for pre-order; add --platform when more than one platform is live). —
--build-number The build with this build number. Needs --platform. —
--platform IOS, MAC_OS, TV_OS or VISION_OS. —
--all Every matching build. off
--min-version Every build whose marketing version is at least this. —
--after-uploaded-date Every build uploaded after this time (RFC 3339). —
--exclude-expired Leave out expired builds. Alias --not-expired. off
--output-dir Folder for the files. .
--wait Keep checking until a dSYM is available. A timeout exits 1 with dsym_not_ready and a partial receipt. off
--poll-interval Time between checks for --wait. 30s
--timeout How long --wait waits. 15m
Terminal window
asc builds dsyms --app "com.example.app" --version live --wait --timeout 15m

builds uploads

Build uploads: the upload records App Store Connect keeps for each build sent to an app, and their files.

builds uploads list

Lists an app’s build uploads.

Flag What it does Default
--app The app ID. Required, or set ASC_APP_ID. —
--cf-bundle-short-version Only these marketing versions, comma-separated. —
--cf-bundle-version Only these build numbers, comma-separated. —
--platform Only these platforms: IOS, MAC_OS, TV_OS, VISION_OS, comma-separated. —
--state Only these upload states, comma-separated. —
--sort cfBundleVersion or uploadedDate, with - for descending. —
Terminal window
asc builds uploads list --app "APP_ID" --platform "IOS" --sort "-uploadedDate"

builds uploads view

Shows one build upload.

Flag What it does Default
--id Build upload ID. Required. —
Terminal window
asc builds uploads view --id "UPLOAD_ID"

builds uploads delete

Deletes a build upload.

Flag What it does Default
--id Build upload ID. Required. —
--confirm Confirms the deletion. Required. off
Terminal window
asc builds uploads delete --id "UPLOAD_ID" --confirm

builds uploads files

The files of a build upload. Subcommands: list, view.

builds uploads files list

Lists the files of a build upload.

Flag What it does Default
--upload Build upload ID. Required. —
Terminal window
asc builds uploads files list --upload "UPLOAD_ID"

builds uploads files view

Shows one build upload file.

Flag What it does Default
--id Build upload file ID. Required. —
Terminal window
asc builds uploads files view --id "FILE_ID"

builds test-notes

TestFlight “What to Test” notes of a build, one per locale. view, update and delete find the notes by build and --locale, or directly by --localization-id.

builds test-notes list

Lists a build’s notes.

Flag What it does Default
Build selector The build (--app defaults to ASC_APP_ID). Required. —
--locale Only these locales, comma-separated. —
Terminal window
asc builds test-notes list --app "1234567890" --latest --locale "en-US,ja"

builds test-notes view

Shows a build’s notes for one locale.

Flag What it does Default
Build selector The build. Required unless --localization-id. —
--locale Locale, such as en-US. Required with a build selector. —
--localization-id The notes’ localization ID, instead of build and locale. —
Terminal window
asc builds test-notes view --app "1234567890" --latest --locale "en-US"

builds test-notes create

Adds notes for a locale.

Flag What it does Default
Build selector The build. Required. —
--locale Locale, such as en-US. Required. —
--whats-new The notes. Required. —
Terminal window
asc builds test-notes create --build-id "BUILD_ID" --locale "en-US" --whats-new "Test instructions"

builds test-notes update

Replaces the notes for a locale.

Flag What it does Default
Build selector The build. Required unless --localization-id. —
--locale Locale. Required with a build selector. —
--localization-id The notes’ localization ID, instead of build and locale. —
--whats-new The new notes. Required. —
Terminal window
asc builds test-notes update --build-id "BUILD_ID" --locale "en-US" --whats-new "Updated notes"

builds test-notes delete

Deletes the notes for a locale.

Flag What it does Default
Build selector The build. Required unless --localization-id. —
--locale Locale. Required with a build selector. —
--localization-id The notes’ localization ID, instead of build and locale. —
--confirm Confirms the deletion. Required. off
Terminal window
asc builds test-notes delete --build-id "BUILD_ID" --locale "en-US" --confirm

builds groups

The TestFlight beta groups a build belongs to. Subcommand: list.

builds groups list

Lists the TestFlight groups that contain a build, including groups with access to all builds. It finds the build’s app and fetches every page itself, and gives the same result as asc testflight groups list --build-id (see asc testflight).

Flag What it does Default
--build-id Build ID. Required. —
Terminal window
asc builds groups list --build-id "BUILD_ID" --output table

builds individual-testers

Testers given a build directly, outside any group.

builds individual-testers list

Lists a build’s individual testers.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds individual-testers list --app "1234567890" --latest

builds individual-testers add

Gives a build to testers.

Flag What it does Default
Build selector The build. Required. —
--tester Tester IDs, comma-separated. Required. —
Terminal window
asc builds individual-testers add --build-id "BUILD_ID" --tester "TESTER_ID1,TESTER_ID2"

builds individual-testers remove

Takes a build away from testers.

Flag What it does Default
Build selector The build. Required. —
--tester Tester IDs, comma-separated. Required. —
--confirm Confirms the removal. Required. off
Terminal window
asc builds individual-testers remove --build-id "BUILD_ID" --tester "TESTER_ID" --confirm

Each of these reads one record linked to a build. They take only the build selector.

Command Shows
builds app view The build’s app.
builds app-encryption-declaration view The build’s export compliance (app encryption) declaration.
builds pre-release-version view The build’s pre-release version (its marketing version in TestFlight).
builds beta-app-review-submission view The build’s beta app review submission.
builds build-beta-detail view The build’s TestFlight settings, such as auto-notify.
builds icons list The build’s icons.

builds app view

Shows the app of a build.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds app view --app "1234567890" --latest

builds app-encryption-declaration view

Shows the encryption declaration of a build.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds app-encryption-declaration view --build-id "BUILD_ID"

builds pre-release-version view

Shows the pre-release version of a build.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds pre-release-version view --app "1234567890" --latest

builds beta-app-review-submission view

Shows the beta app review submission of a build.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds beta-app-review-submission view --app "1234567890" --latest

builds build-beta-detail view

Shows the build beta detail of a build.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds build-beta-detail view --app "1234567890" --latest

builds icons list

Lists the icons of a build.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds icons list --build-id "BUILD_ID"

The records a build is linked to, by relationship. Subcommand: view.

Lists the IDs a build is linked to, for one relationship.

Flag What it does Default
Build selector The build. Required. —
--type app, appStoreVersion, betaBuildLocalizations, buildBetaDetail, diagnosticSignatures, icons, individualTesters or preReleaseVersion. Required. —
Terminal window
asc builds links view --app "1234567890" --latest --type "individualTesters" --paginate

builds metrics

TestFlight metrics for a build. Subcommand: beta-usages.

builds metrics beta-usages

Shows TestFlight usage metrics for a build. For groups and testers, see asc testflight.

Flag What it does Default
Build selector The build. Required. —
Terminal window
asc builds metrics beta-usages --app "1234567890" --latest

testflight

Manage TestFlight workflows. Every subcommand and flag: asc testflight.

build-bundles

Manage build bundles and App Clip data. Every subcommand and flag: asc build-bundles.

build-localizations

Release notes (“What’s New”) on the App Store version a build is attached to, one localization per locale. For TestFlight “What to Test” notes use builds test-notes.

Subcommand What it does Main flags
list List release note localizations for a build. --build-id, --locale
view View a localization by ID. --id
create Create a localization for a build. --build-id, --locale, --whats-new
update Update a localization by ID. --id, --whats-new
delete Delete a localization by ID. --confirm, --id

build-localizations list

Lists the App Store version localizations of the version the build is attached to.

Flag What it does Default
--build-id Build ID. —
--locale Only these locales, comma-separated. —
Terminal window
asc build-localizations list --build-id "BUILD_ID" --locale "en-US,ja"

build-localizations view

Shows one localization.

Flag What it does Default
--id Localization ID. Required. —
Terminal window
asc build-localizations view --id "LOCALIZATION_ID"

build-localizations create

Adds a localization to the App Store version the build is attached to. Release notes are limited to 4,000 characters, checked before anything is sent.

Flag What it does Default
--build-id Build ID. Required. —
--locale Locale, such as en-US. Required. —
--whats-new Release notes, up to 4,000 characters. —
Terminal window
asc build-localizations create --build-id "BUILD_ID" --locale "en-US" --whats-new "Bug fixes"

build-localizations update

Replaces a localization’s release notes. Limited to 4,000 characters, checked before anything is sent.

Flag What it does Default
--id Localization ID. Required. —
--whats-new Release notes, up to 4,000 characters. Required. —
Terminal window
asc build-localizations update --id "LOCALIZATION_ID" --whats-new "New features"

build-localizations delete

Deletes a localization.

Flag What it does Default
--id Localization ID. Required. —
--confirm Confirm the deletion. Required. off
Terminal window
asc build-localizations delete --id "LOCALIZATION_ID" --confirm

distribute

Makes installable iOS builds for release testing outside TestFlight. inspect and prepare work locally, without Apple, a keychain, storage or a network. publish uploads a prepared bundle to an S3-compatible storage endpoint you own. plan, apply, resume, status and verify combine these into a distribution run that changes only what a reviewed plan lists.

plan and apply sign on the machine that runs them. They need macOS with Xcode, an .xcarchive and the signing certificate’s private key as a local .p12 file. AirBuild cloud signing doesn’t give you that key, so on an AirBuild Team use inspect, prepare and publish with an ad hoc .ipa instead.

Subcommand What it does
inspect Inspect an IPA for release-testing distribution readiness.
prepare Prepare an immutable provider-neutral distribution bundle.
publish Publish an installable bundle to a caller-owned S3-compatible endpoint.
plan Build a read-only, hash-bound distribution plan.
apply Apply one exact distribution plan.
resume Continue a previously confirmed recoverable distribution run.
status Read a distribution run without network or keychain access.
verify Reverify published artifacts and optionally observe a device install.

distribute inspect

Checks whether an IPA is ready for release-testing distribution, without keeping extracted files or contacting Apple. Device UDIDs are left out unless --include-devices.

Flag What it does Default
--ipa Path to the IPA. Required. —
--include-devices Include the registered device UDIDs from the profile. off
Terminal window
asc distribute inspect --ipa "./App.ipa"

distribute prepare

Turns an ad hoc IPA into a bundle folder (bundle.json and payload/app.ipa). It checks the provisioning profile, Apple’s trust in it and that the app’s signature matches the profile, and writes nothing unless every check passes. It never overwrites a bundle: an identical one is reused, a different one is a conflict. No install link, storage credential or device UDID is written.

Flag What it does Default
--ipa Path to the IPA. Required. —
--output-dir The bundle folder. a fixed path under .asc/distribution
--channel Build channel recorded with the bundle, such as a pull request. —
--source-revision Source revision recorded with the bundle. —
--source-url HTTPS source address recorded with the bundle, without credentials. —
--title App title to use in the bundle instead of the app’s own. —
Terminal window
asc distribute prepare --ipa "./App.ipa" --channel "pull-request-42" --source-revision "abc123"

distribute publish

Uploads a prepared bundle to an existing bucket: the IPA, then an install manifest, then an install page. Objects already there are reused only when they match exactly. Private access (the default) gives time-limited links, written only to --link-path (readable by the owner only) and redacted on stdout and in the receipt. It never creates buckets, changes their access rules or deletes builds. Credentials come from ASC_S3_ACCESS_KEY_ID and ASC_S3_SECRET_ACCESS_KEY (optionally ASC_S3_SESSION_TOKEN), or else the standard credential chain.

Flag What it does Default
--bundle-dir The prepared bundle folder. Required. —
--endpoint The storage HTTPS endpoint. Required. —
--region Signing region. Required. —
--bucket An existing bucket. Required. —
--prefix Key prefix this channel owns. Required. —
--receipt Where to write the redacted JSON receipt, outside the bundle. Required. —
--link-path Where to write the install links. Required. —
--access private or public. private
--public-base-url Public HTTPS address of the bucket. Required with --access public. —
--addressing-style path or virtual. path
--download-endpoint Another HTTPS endpoint to sign download links with. —
--url-ttl How long a private install page works (at most 7 days in total with --download-grace). 24h
--download-grace Extra time the private manifest and IPA links work. 1h
--verify-timeout Time limit for checking the manifest and install page. 30s
Terminal window
asc distribute publish --bundle-dir .asc/distribution/com.example.app/1.2-3-abcd1234 --endpoint https://objects.example.com --region auto --bucket ios-builds --prefix team/app --receipt .asc/publishes/app-1.2-3.json --link-path .asc/publishes/app-1.2-3-link.json

distribute plan

Reads an archive, the requested devices, the signing identity, the current Apple signing state and a private storage destination, changing nothing, and writes a plan that lists every account change and local or storage effect. The plan has a hash; apply carries out only that exact plan.

Flag What it does Default
--archive-path The Xcode archive. Required. —
--config The distribution configuration JSON. Required. —
--plan Where to write the plan; it must not exist yet. Required. —
--state-dir Folder for run state. .asc/distribution/runs
Terminal window
asc distribute plan --archive-path .asc/artifacts/App.xcarchive --config .asc/distribution/config.json --plan .asc/distribution/plan.json

distribute apply

Carries out a plan: registers the listed devices and creates an ad hoc profile on the Apple account, exports and signs the IPA locally in a temporary keychain, then publishes it. If inputs or Apple’s state changed so that different changes would be needed, it stops and a new plan is required.

Flag What it does Default
--plan The plan file. Required. —
--confirm The plan’s full planHash (64 lowercase hex characters), not a yes/no. Required. —
Terminal window
asc distribute apply --plan .asc/distribution/plan.json --confirm PLAN_HASH

distribute resume

Continues a confirmed distribution run that stopped partway.

Flag What it does Default
--run Run ID (the drun_… ID apply prints). Required. —
--state-dir Folder for run state. .asc/distribution/runs
Terminal window
asc distribute resume --run RUN_ID

distribute status

Shows a distribution run from its local state, without network or keychain access.

Flag What it does Default
--run Run ID (the drun_… ID apply prints). Required. —
--state-dir Folder for run state. .asc/distribution/runs
Terminal window
asc distribute status --run RUN_ID

distribute verify

Checks a run’s receipt, local IPA and every published object again, changing nothing. With --device, it also checks that a connected device has the same bundle ID, version and build installed (not that the bytes match the IPA).

Flag What it does Default
--run Run ID (the drun_… ID apply prints). Required. —
--state-dir Folder for run state. .asc/distribution/runs
--device A connected device to check. —
--timeout Time limit for the fetches and the device check. 30s
Terminal window
asc distribute verify --run RUN_ID

sandbox

Sandbox testers of the Apple team, for testing in-app purchases. To create or delete one, see asc: web session commands.

Subcommand What it does Main flags
list List sandbox testers. --email, --territory
view View sandbox tester details. --email, --id
update Update a sandbox tester. --email, --id, --interrupt-purchases, --subscription-renewal-rate, --territory
clear-history Clear sandbox tester purchase history. --confirm, --email, --id

sandbox list

Lists the team’s sandbox testers.

Flag What it does Default
--email Only the tester with this email. —
--territory Only this territory: a two- or three-letter code or the exact English country name. —
Terminal window
asc sandbox list --territory "United States"

sandbox view

Shows one sandbox tester, by ID or email.

Flag What it does Default
--id Sandbox tester ID. —
--email Tester email, instead of --id. —

--id or --email is required.

Terminal window
asc sandbox view --email "tester@example.com"

sandbox update

Changes a sandbox tester’s settings.

Flag What it does Default
--id Sandbox tester ID. —
--email Tester email, instead of --id. —
--territory App Store territory: a two- or three-letter code or the exact English country name. —
--interrupt-purchases true or false: interrupt purchases. —
--subscription-renewal-rate How fast a monthly subscription renews: MONTHLY_RENEWAL_EVERY_ONE_HOUR, MONTHLY_RENEWAL_EVERY_THIRTY_MINUTES, MONTHLY_RENEWAL_EVERY_FIFTEEN_MINUTES, MONTHLY_RENEWAL_EVERY_FIVE_MINUTES, MONTHLY_RENEWAL_EVERY_THREE_MINUTES. —

--id or --email is required, plus at least one of --territory, --interrupt-purchases or --subscription-renewal-rate.

Terminal window
asc sandbox update --email "tester@example.com" --interrupt-purchases true

sandbox clear-history

Clears a sandbox tester’s purchase history.

Flag What it does Default
--id Sandbox tester ID. —
--email Tester email, instead of --id. —
--confirm Confirm clearing. Required. off

--id or --email is required.

Terminal window
asc sandbox clear-history --email "tester@example.com" --confirm

ipa-info

Inspects a local .ipa without uploading it or contacting Apple, and prints its bundle identity, version, signer, nested bundles and, optionally, the embedded profile.

Flag What it does Default
--path The .ipa. Required. —
--include-profile Add a summary of the embedded provisioning profile. off
--include-entitlements Add the profile’s entitlements. off
--verify-signature Verify the main executable’s code signature and certificate chain offline, against Apple’s roots. signatureVerification is then valid, invalid, untrusted-chain (including ad-hoc signatures), expired or unsupported; anything but valid exits 1. off

status is readable when the metadata was read and unsigned when no embedded profile was found. codeSignature is signed, ad-hoc, unsigned or unreadable, and architectures lists each slice. An unreadable archive or an IPA without an embedded profile exits 1, after printing the result. --verify-signature checks only the main executable’s first slice, not nested bundles, other slices, resource files or the profile.

Terminal window
asc ipa-info --path ./App.ipa --include-profile --include-entitlements

pkg-info

Inspects a local flat .pkg (a component package or a product archive, such as the Mac App Store upload) without expanding it or contacting Apple: product identifier, version, install location, component bundle IDs and signer.

Flag What it does Default
--path The .pkg. Required. —
--verify-signature Verify the package signature, the checksums of its files and the installer certificate chain offline; anything but valid exits 1. off

packageSignature is signed, unsigned or unreadable; an unsigned package still exits 0, and an unreadable package exits 1. For a Developer ID signer, signer.developerIdAuthorityStatus says affected when the certificate comes from the Apple authority that expires on February 1, 2027 (such a package stops installing from that date, and a warning is printed), or not-affected.

Terminal window
asc pkg-info --path ./App.pkg --verify-signature

Examples

Upload a signed build made with runbuild and wait for processing:

Terminal window
asc builds upload --app "APP_ID" --ipa ./App.ipa --wait

Give the newest build to an external group and submit it for beta review:

Terminal window
asc builds add-groups --app "APP_ID" --latest --group "External Testers" --submit --confirm

Add a tester to a group by email:

Terminal window
asc testflight testers add --app "APP_ID" --email "tester@example.com" --group "Beta"

Check an IPA before uploading it:

Terminal window
asc ipa-info --path ./App.ipa --include-profile --verify-signature --output table