Preview Upload
preview_uploadUpload Fastlane preview images to App Store Connect iPhone preview sets via asc CLI after preview checks pass; dry-run by default and requires approval for live uploads.
Instructions
Upload fastlane/app_previews// to the editable version's iPhone preview sets via the asc CLI (needs human approval unless dry_run).
Use when: preview_check is clean and self-review passed. dry_run=true (default) sends nothing. MD5-idempotent; refuses while preview_check has problems. Returns: {ok, uploaded/planned: [...], dry_run} or an approval_required refusal.
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. | |
| dry_run | No | If true (default) nothing is changed or sent and the exact plan/command is returned; false performs the live action. | |
| locales | No | Locale codes to upload; omit for every locale in fastlane/app_previews/. | |
| replace | No | If true, replace preview sets that already exist on App Store Connect. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||