# Bring your store listing from fastlane

> If your App Store listing lives in a fastlane folder, have an Agent check it, preview the import, and upload the text, screenshots and review details to App Store Connect, or write the listing back into fastlane files.

Source: https://air.build/docs/app-store/bring-your-listing-from-fastlane/

fastlane's `deliver` tool keeps an app's App Store listing in a folder of text files, screenshots and videos. If your app's listing is kept that way, an Agent can upload that folder to App Store Connect, so you can go on from AirBuild. It can also write App Store Connect's current listing into the same kind of folder.

> [!NOTE]
> AirBuild has no button for this. You ask an Agent in the Project's chat, and it uses `asc migrate` (listed under `migrate` in [asc: automation](https://air.build/docs/cli/asc-automation/#migrate)). `asc` reads the folder itself. To change the listing on screen afterwards, see [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/).

## Put the folder in the project

- If the Project came from your repository and the repository has the `fastlane` folder, it's already there. Check under **Files** (see [Find the files and documents Agents made](https://air.build/docs/projects/find-files/#open-files)). To bring a repository in, see [Import a project from GitHub](https://air.build/docs/get-started/import-from-github/).
- If not, compress the `fastlane` folder into a zip file, send it in the Project's chat and ask the Agent to put it in the project. See [Send photos, files and sketches to an Agent](https://air.build/docs/projects/send-photos-and-files/).

## What the folder holds

The `asc` help shows the layout it reads:

- fastlane/
  - Deliverfile
  - metadata/
    - en-US/
      - name.txt
      - subtitle.txt
      - privacy_url.txt
      - description.txt
      - keywords.txt
      - release_notes.txt
      - promotional_text.txt
      - support_url.txt
      - marketing_url.txt
      - app_clip/
        - subtitle.txt
        - header_image.png
    - review_information/
      - first_name.txt
      - …
    - app_clip/
      - action.txt
  - app_previews/
    - en-US/
      - iphone_65/
        - preview.mp4
        - preview.poster_frame.txt
  - screenshots/
    - en-US/
      - iphone_65_1.png
      - …

| In the folder | What it becomes in App Store Connect |
| --- | --- |
| `name.txt`, `subtitle.txt`, `privacy_url.txt` in a language's folder | The app's name, subtitle and privacy policy URL in that language. |
| `description.txt`, `keywords.txt`, `release_notes.txt`, `promotional_text.txt`, `support_url.txt`, `marketing_url.txt` | The version's description, keywords, What's New text, promotional text, support URL and marketing URL in that language. |
| `review_information/` | The version's App Review contact and demo account: `first_name.txt`, `last_name.txt`, `email_address.txt`, `phone_number.txt`, `demo_user.txt`, `demo_password.txt`, `demo_required.txt` and `notes.txt`. See App Review Contact in [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/#app-review-contact). |
| `screenshots/` and a language | The version's screenshots in that language. `asc` works out each screenshot's device from its file name or from the picture's size. |
| `app_previews/`, a language and a device | App Preview videos, each with an optional poster frame. |
| `app_clip/` | The App Clip's subtitle, header image and action. |
| `Deliverfile` | `asc` reads its `app_identifier`, `app_version`, `platform`, `metadata_path`, `screenshots_path`, `skip_metadata` and `skip_screenshots`. |

## Check it and preview the import

Ask in the Project's chat, for example:

```text
Our fastlane folder is in the project. Check it, then show me what importing it into version 1.4 would change.
```

1. The Agent checks the folder with `asc migrate validate`. It reads the files without contacting Apple, and lists each name, subtitle, description, keywords, What's New or promotional text that is over App Store Connect's character limit. A language with an empty description gets a warning. For the limits, see [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/#fill-in-the-store-page).
2. It does a dry run, `asc migrate import --dry-run`, which changes nothing. It lists the languages, the text files of each, the review information, the screenshots by device, and anything it skipped with the reason. The demo account password is shown hidden.
3. Read the list. To change something, ask the Agent to edit the files, then to check them again.

The import goes into one version of one app. `asc` takes them from the Deliverfile's `app_identifier`, `app_version` and `platform`, or from what you tell the Agent. The version has to exist in App Store Connect already: to make it, see [Ship an update to your app](https://air.build/docs/app-store/ship-an-update/#start-the-next-version).

## Import it

`asc` imports only with `--confirm`, so the Agent asks you first. The text it sends replaces what that version has in App Store Connect now, and `asc` keeps no copy of the old text. To keep one, ask the Agent first to write the current listing into another folder (see [Write the listing back into fastlane files](https://air.build/docs/app-store/bring-your-listing-from-fastlane/#write-the-listing-back-into-fastlane-files)).

On your yes, the Agent runs `asc migrate import --confirm`:

| Part | What happens |
| --- | --- |
| Text | Each language's fields are updated. A language the version doesn't have yet is added. |
| Review information | Created or updated. Left alone when App Store Connect already has the same. |
| Screenshots | Each one is uploaded to its device's set, and the set is put in the folder's order. A screenshot whose file name is already in the set is skipped as "already exists". Screenshots already there aren't deleted. |
| App Clip header image | A header image that differs from the one in App Store Connect replaces it. |

The Agent tells you what was uploaded for each language. To see the result, open **App Information** › **Store Page**. See [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/#open-app-information).

To leave some parts out, tell the Agent: it can skip the screenshots (`--skip-screenshots`), the App Preview videos (`--skip-previews`) or the App Clip (`--skip-app-clip`).

## Write the listing back into fastlane files

Ask for example:

```text
Write our App Store listing for version 1.4 into a fastlane folder in the project.
```

The Agent uses `asc migrate export` with the folder you name. For each language it writes `name.txt`, `subtitle.txt`, `privacy_url.txt`, `description.txt`, `keywords.txt`, `release_notes.txt`, `promotional_text.txt`, `support_url.txt` and `marketing_url.txt` under `metadata/`, and the App Clip and App Preview files if the version has them. It doesn't write screenshots or review information.

In a folder that already has these files, it replaces them, and it removes the file of any field that is empty in App Store Connect. To keep your folder as it is, ask for a new one.

## Questions

**The Agent says --version-id is required.**

The Deliverfile has no `app_version` and `platform`. Tell the Agent which version to import into, for example 1.4.

**It says no app was found for the bundle ID.**

The Deliverfile's `app_identifier` isn't an app in the Apple team the Team uses. Check the Bundle ID: see [Find your app's Bundle ID and its last build](https://air.build/docs/projects/find-your-apps-bundle-id/).

**A Deliverfile path must stay inside the folder.**

The Deliverfile points `metadata_path` or `screenshots_path` outside the fastlane folder, and `asc` doesn't follow it. Move those folders inside, or tell the Agent you trust that path: it then adds `--allow-external-metadata` or `--allow-external-screenshots`.

**It says a Deliverfile path resolves to a folder that isn't there.**

`asc` reads the paths in a Deliverfile from the Deliverfile's own folder. When the message adds a hint, for example that `./fastlane/metadata` should be `./metadata`, ask the Agent to change the Deliverfile that way.

**The import stopped partway.**

The report starts with "Partial Import - failed at" and the step, with the failure and the steps it finished. What it uploaded stays uploaded. Fix what the failure says and ask the Agent to run the import again: screenshots already uploaded are skipped as "already exists".

**It says ffprobe is required.**

The folder has App Preview videos, and `asc` checks them with FFmpeg's `ffprobe`, which the Team's environment doesn't have. Ask the Agent to install FFmpeg, or to import without the videos (`--skip-previews`).

**A video or header image is refused.**

The `asc` help says previews must be 15 to 30 seconds long, and App Clip header images must be PNG at 1800 x 1200. Replace the file, or leave that part out.

**It warns that a new language is missing fields.**

The warning says the language "is still missing submit-required fields" and names them. Fill them in before you submit. See [Add languages to your App Store page](https://air.build/docs/app-store/localize-your-store-page/).
