ASC Create Bundle ID
asc_create_bundle_idRegister a bundle ID in App Store Connect and check or apply its App ID capabilities, a required first step before signing a new app.
Instructions
Register a bundle id in App Store Connect and check or apply its App ID capabilities (live write, needs human approval).
Use when: first ASC step for a new app; capabilities (IN_APP_PURCHASE, Sign in with Apple, HEALTHKIT if enabled) must exist before signing. Not for: creating the app record (use asc_create_app). Returns: {bundle_id: , capabilities: <store_setup report>} or an approval_required refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name of the bundle id in the developer portal, e.g. 'My App'. | |
| app_dir | No | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| identifier | Yes | Bundle identifier to register, e.g. com.example.app. | |
| approval_id | No | Approval id from a previous approval_required refusal; omit on the first call. The human approves out-of-band with `appfactory approve <id>`, then call again with the same arguments and this id. | |
| apply_capabilities | No | If true, also enable the spec's App ID capabilities (needs app_dir); false only checks them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||