Store Setup
store_setupSet up App Store Connect and RevenueCat from app.spec.json and listing.json, covering capabilities, subscriptions, prices, offers, age rating, legal URLs, and RC entitlements/offerings.
Instructions
Idempotent App Store Connect and RevenueCat setup from app.spec.json and listing.json (capabilities, subscriptions, prices, offers, age rating, legal URLs, RC entitlement/offerings).
Use when: the standard way to set up the store side. mode: plan (offline), check (live reads, simulated writes, reports CONFLICT), apply (live writes, needs human approval). Prefer this over the individual asc_* write tools; asc_create_app is still separate. Returns: {ok, mode, steps: [...], conflicts} or an approval_required refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'plan' (offline), 'check' (live reads, simulated writes, reports CONFLICT) or 'apply' (live writes, needs approval). | plan |
| target | No | What to set up: 'capabilities', 'asc', 'rc' or 'all' (default). | all |
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| 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. | |
| rc_project_id | No | RevenueCat project id (proj...) if it already exists. | |
| rc_apple_notification_url | No | RevenueCat's Apple Server-to-Server notification URL, stored in app outputs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||