Agent commands

asc build-bundles commands to list the bundles inside a build, their file sizes, and App Clip domain status and invocations.

asc build-bundles reads what is inside an uploaded build: each bundle (the app and, when it has one, its App Clip), the bundle’s file sizes, and, for an App Clip, the state of its associated domains and its invocations. All of it is read-only. Picking an Apple team (--auth), output, pagination and exit codes work as described on the asc page; the flag tables below leave out --output, --pretty, --limit, --next and --paginate, which are explained there, except where a command gives them its own meaning.

Start with build-bundles list to find the build bundle IDs the other commands take. To find a build ID, see asc: builds and TestFlight.

Notes that apply to the whole page:

  • Every command prints Apple’s JSON, as described on asc.
  • A flag marked “Required” is checked before any request; leaving it out exits 2. The ID flag is required even with --next.
  • On the list commands that page, --limit is 1–200 per page and --paginate reads every page.
Terminal window
asc build-bundles list --build-id "BUILD_ID"
asc build-bundles file-sizes list --id "BUILD_BUNDLE_ID" --paginate
Subcommand What it does
list Lists the build bundles of a build.
file-sizes File sizes of a build bundle.
app-clip App Clip domain status and invocations of a build bundle.

list

Lists the build bundles of a build: the build’s bundles come back in one response, with no pages.

Flag What it does Default
--build-id The build ID. Required. —
--limit Number of build bundles to include, 1–50. Apple’s default
Terminal window
asc build-bundles list --build-id "BUILD_ID"

file-sizes

File size data for a build bundle, as App Store Connect reports it.

Subcommand What it does
file-sizes list Lists the file sizes of a build bundle.

file-sizes list

Lists the file sizes of a build bundle.

Flag What it does Default
--id The build bundle ID. Required. —
Terminal window
asc build-bundles file-sizes list --id "BUILD_BUNDLE_ID"

app-clip

App Clip data for a build bundle: the domain cache status, the domain debug status and the App Clip’s invocations.

Subcommand What it does
app-clip cache-status view App Clip domain cache status.
app-clip debug-status view App Clip domain debug status.
app-clip invocations list App Clip invocations.

app-clip cache-status view

Shows the App Clip domain cache status for a build bundle.

Flag What it does Default
--id The build bundle ID. Required. —
Terminal window
asc build-bundles app-clip cache-status view --id "BUILD_BUNDLE_ID"

app-clip debug-status view

Shows the App Clip domain debug status for a build bundle.

Flag What it does Default
--id The build bundle ID. Required. —
Terminal window
asc build-bundles app-clip debug-status view --id "BUILD_BUNDLE_ID"

app-clip invocations list

Lists the App Clip invocations of a build bundle.

Flag What it does Default
--id The build bundle ID. Required. —
Terminal window
asc build-bundles app-clip invocations list --id "BUILD_BUNDLE_ID" --paginate