# asc bundle-ids

> asc bundle-ids commands: create, list, update and delete bundle IDs (App IDs), and add, update, remove and reconcile their capabilities.

Source: https://air.build/docs/cli/asc-bundle-ids/

`asc bundle-ids` manages the bundle IDs (App IDs) of the connected Apple team in the Developer Portal, and the capabilities enabled on each. A bundle ID must exist before an app record can be created for it. Picking an Apple team, output, pagination, `--confirm` and exit codes work as described on the [asc](https://air.build/docs/cli/asc/) page; the flag tables below leave out `--output`, `--pretty`, `--limit`, `--next`, `--paginate` and the `--fields` / `--…-fields` flags, which are explained there.

Most commands take the bundle ID's resource ID (`--id` or `--bundle`), the ID that `asc bundle-ids list` prints, not the identifier string such as `com.example.app`. `capabilities reconcile` also accepts the identifier.

## list

List bundle IDs.

| Flag | What it does | Default |
| --- | --- | --- |
| `--capabilities-limit` | Maximum included capabilities (1-50). | `0` |
| `--id` | Filter by bundle ID(s), comma-separated. | — |
| `--identifier` | Filter by identifier(s), comma-separated. | — |
| `--include` | Include relationships: profiles, bundleIdCapabilities, app. | — |
| `--name` | Filter by name(s), comma-separated. | — |
| `--platform` | Filter by platform(s), comma-separated: IOS, MAC_OS, UNIVERSAL. | — |
| `--profiles-limit` | Maximum included profiles (1-50). | `0` |
| `--seed-id` | Filter by seed ID(s), comma-separated. | — |
| `--sort` | Sort by (comma-separated): name, -name, platform, -platform, identifier, -identifier, seedId, -seedId, id, -id. | — |

```sh
asc bundle-ids list
```

## view

View a bundle ID by its resource ID: name, identifier, platform and seed ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | Bundle ID. Required. | — |

```sh
asc bundle-ids view --id "BUNDLE_ID"
```

## app

View the app linked to a bundle ID.

### app view

View the App Store Connect app record linked to a bundle ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | Bundle ID. Required. | — |

```sh
asc bundle-ids app view --id "BUNDLE_ID"
```

## profiles

List profiles linked to a bundle ID.

### profiles list

List the provisioning profiles made for a bundle ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | Bundle ID. Required. | — |

```sh
asc bundle-ids profiles list --id "BUNDLE_ID"
```

## create

Create a bundle ID.

`--seed-id` sets the App ID prefix; leave it out for Apple's default.

| Flag | What it does | Default |
| --- | --- | --- |
| `--identifier` | Bundle ID identifier (e.g., com.example.app). Required. | — |
| `--name` | Bundle ID name. Required. | — |
| `--platform` | Platform: IOS, MAC_OS, UNIVERSAL. | `IOS` |
| `--seed-id` | App ID prefix (seedId); omit for Apple's default. | — |

```sh
asc bundle-ids create --identifier "com.example.app" --name "Example" --platform IOS
```

## update

Rename a bundle ID. The name is the only attribute it changes; the identifier and platform stay.

| Flag | What it does | Default |
| --- | --- | --- |
| `--id` | Bundle ID. Required. | — |
| `--name` | Bundle ID name. Required. | — |

```sh
asc bundle-ids update --id "BUNDLE_ID" --name "New Name"
```

## delete

Delete a bundle ID.

| Flag | What it does | Default |
| --- | --- | --- |
| `--confirm` | Confirm deletion. Required. | `false` |
| `--id` | Bundle ID. Required. | — |

```sh
asc bundle-ids delete --id "BUNDLE_ID" --confirm
```

## capabilities

Manage bundle ID capabilities.

Capabilities are the services an App ID may use (Push Notifications, iCloud, App Groups and so on). After a change, match the target's entitlements; the next `runbuild --sign` issues its profile again (`asc profiles create` only for a profile outside AirBuild's builds).

Capability types for `--capability`, with the entitlement each one maps to. **Public API** types are set with `capabilities add` and `capabilities remove`:

| Type | Capability | Entitlement |
| --- | --- | --- |
| `ACCESS_WIFI_INFORMATION` | Access WiFi Information | `com.apple.developer.networking.wifi-info` |
| `APPLE_ID_AUTH` | Sign In with Apple | `com.apple.developer.applesignin` |
| `APPLE_PAY` | Apple Pay Payment Processing | `com.apple.developer.in-app-payments` |
| `APP_GROUPS` | App Groups | `com.apple.security.application-groups` |
| `ASSOCIATED_DOMAINS` | Associated Domains | `com.apple.developer.associated-domains` |
| `AUTOFILL_CREDENTIAL_PROVIDER` | AutoFill Credential Provider | `com.apple.developer.authentication-services.autofill-credential-provider` |
| `CLASSKIT` | ClassKit | `com.apple.developer.ClassKit-environment` |
| `COREMEDIA_HLS_LOW_LATENCY` | Low Latency HLS | `com.apple.developer.coremedia.hls.low-latency` |
| `DATA_PROTECTION` | Data Protection | `com.apple.developer.default-data-protection` |
| `GAME_CENTER` | Game Center | `com.apple.developer.game-center` |
| `HEALTHKIT` | HealthKit | `com.apple.developer.healthkit` |
| `HOMEKIT` | HomeKit | `com.apple.developer.homekit` |
| `HOT_SPOT` | Hotspot | `com.apple.developer.networking.HotspotConfiguration` |
| `ICLOUD` | iCloud | `com.apple.developer.icloud-container-identifiers` |
| `INTER_APP_AUDIO` | Inter-App Audio | `inter-app-audio` |
| `IN_APP_PURCHASE` | In-App Purchase | — |
| `MAPS` | Maps | `com.apple.developer.maps` |
| `MULTIPATH` | Multipath | `com.apple.developer.networking.multipath` |
| `NETWORK_CUSTOM_PROTOCOL` | Custom Network Protocol | `com.apple.developer.networking.custom-protocol` |
| `NETWORK_EXTENSIONS` | Network Extensions | `com.apple.developer.networking.networkextension` |
| `NFC_TAG_READING` | NFC Tag Reading | `com.apple.developer.nfc.readersession.formats` |
| `PERSONAL_VPN` | Personal VPN | `com.apple.developer.networking.vpn.api` |
| `PUSH_NOTIFICATIONS` | Push Notifications | `aps-environment` |
| `SIRIKIT` | SiriKit | `com.apple.developer.siri` |
| `SYSTEM_EXTENSION_INSTALL` | System Extension | `com.apple.developer.system-extension.install` |
| `USER_MANAGEMENT` | TV Services | `com.apple.developer.user-management` |
| `WALLET` | Wallet | `com.apple.developer.pass-type-identifiers` |
| `WIRELESS_ACCESSORY_CONFIGURATION` | Wireless Accessory Configuration | `com.apple.external-accessory.wireless-configuration` |

**Web** types are refused by Apple's API. Set them with `asc web bundle-ids capabilities enable` or `disable` `--bundle-id BUNDLE_RESOURCE_ID --capability TYPE --confirm`, which uses the Team owner's Apple sign-in (see [asc: web session commands](https://air.build/docs/cli/asc-web/)).

| Type | Capability | Entitlement |
| --- | --- | --- |
| `APPLE_PAY_LATER_MERCHANDISING` | Apple Pay Later Merchandising | `com.apple.developer.pay-later-merchandising` |
| `APP_ATTEST` | App Attest | `com.apple.developer.devicecheck.appattest-environment` |
| `CARPLAY_MESSAGING` | CarPlay Messaging App (Apple must grant the entitlement first) | `com.apple.developer.carplay-messaging` |
| `CARPLAY_NAVIGATION` | CarPlay Navigation App (Apple must grant the entitlement first) | `com.apple.developer.carplay-maps` |
| `CARPLAY_PLAYABLE_CONTENT` | CarPlay Audio App (Apple must grant the entitlement first) | `com.apple.developer.carplay-audio` |
| `CARPLAY_VOIP` | CarPlay VoIP Calling App (Apple must grant the entitlement first) | `com.apple.developer.carplay-calling` |
| `CRITICAL_ALERTS` | Critical Alerts (Apple must grant the entitlement first) | `com.apple.developer.usernotifications.critical-alerts` |
| `DECLARED_AGE_RANGE` | Declared Age Range | `com.apple.developer.declared-age-range` |
| `DRIVERKIT_ALLOWTHIRDPARTY_USERCLIENTS` | DriverKit Allow Third Party UserClients (Apple must grant the entitlement first) | `com.apple.developer.driverkit.allow-third-party-userclients` |
| `DRIVERKIT_COMMUNICATESWITHDRIVERS` | Communicates with Drivers (Apple must grant the entitlement first) | `com.apple.developer.driverkit.communicates-with-drivers` |
| `DRIVERKIT_FAMILY_AUDIO_PUB` | DriverKit Family Audio (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.family.audio` |
| `DRIVERKIT_FAMILY_HIDDEVICE_PUB` | DriverKit Family HID Device (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.family.hid.device` |
| `DRIVERKIT_FAMILY_HIDEVENTSERVICE_PUB` | DriverKit Family HID EventService (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.family.hid.eventservice` |
| `DRIVERKIT_FAMILY_NETWORKING_PUB` | DriverKit Family Networking (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.family.networking` |
| `DRIVERKIT_FAMILY_SCSICONTROLLER_PUB` | DriverKit Family SCSIController (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.family.scsicontroller` |
| `DRIVERKIT_FAMILY_SERIAL_PUB` | DriverKit Family Serial (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.family.serial` |
| `DRIVERKIT_PUBLIC` | DriverKit for Development (Apple must grant the entitlement first) | `com.apple.developer.driverkit` |
| `DRIVERKIT_TRANSPORT_HID_PUB` | DriverKit Transport HID (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.transport.hid` |
| `DRIVERKIT_USBTRANSPORT_PUB` | DriverKit USB Transport (development) (Apple must grant the entitlement first) | `com.apple.developer.driverkit.transport.usb` |
| `EXTENDED_VIRTUAL_ADDRESSING` | Extended Virtual Address Space | `com.apple.developer.kernel.extended-virtual-addressing` |
| `FAMILY_CONTROLS` | Family Controls | `com.apple.developer.family-controls` |
| `FILEPROVIDER_TESTINGMODE` | FileProvider TestingMode | `com.apple.developer.fileprovider.testing-mode` |
| `FONT_INSTALLATION` | Fonts | `com.apple.developer.user-fonts` |
| `GROUP_ACTIVITIES` | Group Activities | `com.apple.developer.group-session` |
| `HEALTHKIT_RECALIBRATE_ESTIMATES` | Recalibrate Estimates | `com.apple.developer.healthkit.recalibrate-estimates` |
| `HLS_INTERSTITIAL_PREVIEW` | HLS Interstitial Previews | — |
| `HOTSPOT_HELPER_MANAGED` | Hotspot Helper (Apple must grant the entitlement first) | `com.apple.developer.networking.HotspotHelper` |
| `INCREASED_MEMORY_LIMIT` | Increased Memory Limit | `com.apple.developer.kernel.increased-memory-limit` |
| `IPAD_CAMERA_MULTITASKING` | iPad Camera Multitasking | — |
| `JOURNALING_SUGGESTIONS` | Journaling Suggestions | `com.apple.developer.journal.allow` |
| `MANAGED_APP_INSTALLATION_UI` | Managed App Installation UI | `com.apple.developer.managed-app-distribution.install-ui` |
| `MARZIPAN` | Mac Catalyst | — |
| `MATTER_ALLOW_SETUP_PAYLOAD` | Matter Allow Setup Payload | `com.apple.developer.matter.allow-setup-payload` |
| `MDM_MANAGED_ASSOCIATED_DOMAINS` | MDM Managed Associated Domains | `com.apple.developer.associated-domains.mdm-managed` |
| `MEDIA_DEVICE_DISCOVERY` | Media Device Discovery | `com.apple.developer.media-device-discovery-extension` |
| `MESSAGES_COLLABORATION` | Messages Collaboration | `com.apple.developer.shared-with-you.collaboration` |
| `MUSIC_KIT` | MusicKit | — |
| `NETWORK_SLICING` | 5G Network Slicing | `com.apple.developer.networking.slicing.appcategory`, `com.apple.developer.networking.slicing.trafficcategory` |
| `ONDEMANDINSTALL_EXTENSIONS` | On Demand Install Capable for App Clip Extensions | `com.apple.developer.on-demand-install-capable` |
| `PRIVATE_CLOUD_COMPUTE` | Private Cloud Compute | — |
| `PUSH_TO_TALK` | Push to Talk | `com.apple.developer.push-to-talk` |
| `SENSITIVE_CONTENT_ANALYSIS` | Sensitive Content Analysis | `com.apple.developer.sensitivecontentanalysis.client` |
| `SFUNIVERSALLINK_API` | Default Navigation (SFUniversalLink) | — |
| `SHALLOW_DEPTH_PRESSURE` | Shallow Depth and Pressure | `com.apple.developer.submerged-shallow-depth-and-pressure` |
| `SHARED_WITH_YOU` | Shared with You | `com.apple.developer.shared-with-you` |
| `SHAZAM_KIT` | ShazamKit | — |
| `SUSTAINED_EXECUTION` | Sustained Execution | — |
| `TAP_TO_DISPLAY_ID` | Tap to Present ID on iPhone (Display Only) (Apple must grant the entitlement first) | `com.apple.developer.proximity-reader.identity.display` |
| `TAP_TO_PAY_ON_IPHONE` | Tap to Pay on iPhone (Apple must grant the entitlement first) | `com.apple.developer.proximity-reader.payment.acceptance` |
| `USERNOTIFICATIONS_COMMUNICATION` | Communication Notifications | `com.apple.developer.usernotifications.communication` |
| `USERNOTIFICATIONS_TIMESENSITIVE` | Time Sensitive Notifications | `com.apple.developer.usernotifications.time-sensitive` |
| `VMNET` | vmnet | `com.apple.vm.networking` |
| `VP9_DECODER` | VP9 Decoder | — |
| `WEATHERKIT` | WeatherKit | `com.apple.developer.weatherkit` |

### capabilities list

List bundle ID capabilities.

Capabilities that only the Developer Portal can set (the **web** types above) are not in this list; `asc web bundle-ids view --bundle-id BUNDLE_RESOURCE_ID` shows every capability, those included.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle` | Bundle ID. Required. | — |

```sh
asc bundle-ids capabilities list --bundle "BUNDLE_ID"
```

### capabilities add

Add a capability to a bundle ID.

`--settings` takes a JSON array with Apple's exact field names and value types; setting and option keys are sent unchanged, so values newer than Apple's published schema work. `--if-exists` applies when Apple answers that the capability is already enabled (HTTP 409); Apple usually accepts a repeated add as success, so it rarely engages. `skip` prints the existing capability and exits `0`; `update` applies `--settings` to it (without `--settings` it behaves like `skip`). A capability type the API cannot create fails even when it is already enabled.

| Flag | What it does | Default |
| --- | --- | --- |
| `--bundle` | Bundle ID. Required. | — |
| `--capability` | Capability type (e.g., ICLOUD, IN_APP_PURCHASE). Required. | — |
| `--if-exists` | Behavior when the resource already exists: fail, skip, update. | `fail` |
| `--settings` | Capability settings as a JSON array (optional). | — |

```sh
asc bundle-ids capabilities add --bundle "BUNDLE_ID" --capability ICLOUD
```

### capabilities update

Update a bundle ID capability.

`--settings` takes a JSON array with Apple's exact field names and value types; setting and option keys are sent unchanged. Give `--capability`, `--settings` or both.

| Flag | What it does | Default |
| --- | --- | --- |
| `--capability` | Capability type (e.g., ICLOUD, IN_APP_PURCHASE). | — |
| `--id` | Capability ID. Required. | — |
| `--settings` | Capability settings as a structure-validated JSON array. | — |

```sh
asc bundle-ids capabilities update --id "CAPABILITY_ID" --settings '[{"key":"ICLOUD_VERSION","options":[{"key":"XCODE_6","enabled":true}]}]'
```

### capabilities remove

Remove a capability from a bundle ID.

`--id` is the capability's ID from `capabilities list`, not the capability type.

| Flag | What it does | Default |
| --- | --- | --- |
| `--confirm` | Confirm deletion. Required. | `false` |
| `--id` | Capability ID. Required. | — |

```sh
asc bundle-ids capabilities remove --id "CAPABILITY_ID" --confirm
```

### capabilities reconcile

Reconcile bundle ID capabilities from an entitlements file.

Compares an entitlements plist with the capabilities on a bundle ID. `plan` shows each capability as add, update, keep or unmanaged; `apply` makes those changes and requires `--confirm`. Existing sub-feature settings, such as broadcast push, are kept. Removing capabilities requires `--allow-remove` and only touches capability types the mapping knows.

#### capabilities reconcile plan

Show what reconciling a bundle ID with an entitlements file would change, without changing it.

| Flag | What it does | Default |
| --- | --- | --- |
| `--allow-remove` | Remove mapped capabilities that the entitlements file does not request. | `false` |
| `--bundle` | Bundle ID resource ID or identifier. Required. | — |
| `--entitlements` | Path to an entitlements plist. Required. | — |
| `--ignore-unknown` | Ignore entitlement keys this mapping does not know. | `false` |

```sh
asc bundle-ids capabilities reconcile plan --bundle BUNDLE_ID --entitlements PATH
```

#### capabilities reconcile apply

Apply the changes that reconciling a bundle ID with an entitlements file needs.

| Flag | What it does | Default |
| --- | --- | --- |
| `--allow-remove` | Remove mapped capabilities that the entitlements file does not request. | `false` |
| `--bundle` | Bundle ID resource ID or identifier. Required. | — |
| `--confirm` | Apply capability changes. Required. | `false` |
| `--entitlements` | Path to an entitlements plist. Required. | — |
| `--ignore-unknown` | Ignore entitlement keys this mapping does not know. | `false` |

```sh
asc bundle-ids capabilities reconcile apply --bundle "BUNDLE_ID" --entitlements ./App/App.entitlements --confirm
```
