StoreKit Generate
storekit_generateGenerate a deterministic StoreKit configuration file from app.spec.json, including subscription groups, levels, free-trial intros, and trial-less offers. Run after any product change.
Instructions
Write Resources/Configuration.storekit from app.spec.json (group, levels, free-trial intros, trial-less offer product).
Use when: after any product change. Deterministic. app_sync_spec also regenerates it together with Swift sources. Returns: {ok, path, products}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||