Blog ·
Fastlane deliver: automate App Store metadata uploads
fastlane deliver (an alias for upload_to_app_store) is Fastlane's command-line tool for uploading App Store metadata, screenshots, App Preview videos, and binaries to App Store Connect from local folders or CI. Once initialized, it keeps your listing text in version control and pushes updates to App Store Connect with one command.
How fastlane deliver works and how to initialize it
Install Fastlane with Homebrew (brew install fastlane) or RubyGems (sudo gem install fastlane -NV), as described in the Fastlane App Store deployment guide. Then initialize deliver inside your project directory:
cd your_project_folder
fastlane deliver initDuring setup, Fastlane asks for your App Store Connect credentials and bundle identifier, then pulls your live listing into three local directories: ./fastlane/metadata, ./fastlane/screenshots, and ./fastlane/app-previews. If you run deliver without a fastlane/ folder, it uses ./metadata in the current directory instead.
To refresh local files later from App Store Connect, run:
fastlane deliver download_metadata
fastlane deliver download_screenshotsAfter editing text files or replacing screenshots locally, run fastlane deliver to push those changes back to App Store Connect. By default, deliver generates an HTML preview report of the collected metadata and screenshots and runs precheck before uploading, as documented in the fastlane deliver reference.
Fastlane deliver folder structure, locale codes, and screenshots
deliver reads your listing from plain .txt files under ./fastlane/metadata (override with metadata_path). Non-localized settings sit at the root of metadata/, while localized text sits inside one subfolder per App Store locale:
fastlane/
metadata/
copyright.txt
primary_category.txt
review_information/
first_name.txt
last_name.txt
email_address.txt
phone_number.txt
notes.txt
en-US/
name.txt
subtitle.txt
keywords.txt
promotional_text.txt
description.txt
release_notes.txt
support_url.txt
marketing_url.txt
privacy_url.txt
de-DE/
...
screenshots/
en-US/
iphone_1.png
de-DE/
iphone_1.pngEach localized folder must match one of Fastlane's supported locale codes, such as en-US, en-GB, de-DE, fr-FR, es-ES, es-MX, ja, ko, pt-BR, zh-Hans, or zh-Hant. Fastlane recommends committing metadata/ to git and keeping screenshots/ out of git.
Inside ./fastlane/screenshots/<locale>/ (override with screenshots_path), deliver detects the target device class automatically from each image's pixel resolution, including Apple Watch screenshots. For App Preview videos in ./fastlane/app-previews/<locale>/, deliver uploads up to three videos per locale and device type, ordered by filename, and infers the device from filename prefixes such as IPHONE_65, IPHONE_67, IPAD_PRO_129, or DESKTOP.
Managing those folders by hand across dozens of markets gets tedious fast. With Wow Keywords, you research local keywords per country, draft localized names, subtitles, keyword fields, promotional text, and descriptions in 50 languages, render localized screenshots, and export ready-to-upload fastlane metadata folders and screenshots directly into ./fastlane/metadata and ./fastlane/screenshots.
Authenticate with an App Store Connect API key
For unattended CI runs, authenticate with an App Store Connect API key instead of an Apple ID password. Add the app_store_connect_api_key action to your Fastfile before calling deliver:
lane :upload_metadata do
app_store_connect_api_key(
key_id: ENV["ASC_KEY_ID"],
issuer_id: ENV["ASC_ISSUER_ID"], # omit for an individual API key
key_content: ENV["ASC_KEY_CONTENT_BASE64"],
is_key_content_base64: true
)
deliver(
skip_binary_upload: true,
force: true
)
endBy default, set_spaceship_token is true, so app_store_connect_api_key sets Spaceship::ConnectAPI.token automatically for deliver and any subsequent Fastlane actions in the lane. On a local machine, pass key_filepath: "./AuthKey_D83848D23.p8" instead of key_content. For step-by-step instructions on creating the .p8 key and finding your key ID and issuer ID, see our App Store Connect API key guide.
Upload metadata and screenshots safely in CI
Keep metadata deployments separate from binary submissions until you are ready to ship. In a Fastfile or Deliverfile, combine the flags that match your release step:
skip_binary_upload: trueupdates only metadata and screenshots without uploading an.ipaor.pkg.skip_screenshots: truepushes text changes without re-uploading images, which speeds up copy-only updates.skip_metadata: trueuploads screenshots or binaries while leaving text fields untouched.force: true(or--forceon the CLI) skips the interactive HTML preview prompt so CI jobs do not hang waiting for confirmation.submit_for_review: truesubmits the version after upload; leave it off when you want to inspect the draft in App Store Connect first.
If you are adding new languages for the first time, review how to prepare your app's metadata and how to upload screenshots to App Store Connect. When App Store Connect rejects screenshot uploads for newly added languages, check our fix for please save new locales before uploading screenshots.
If you prefer to skip a Fastlane pipeline for routine listing updates, Wow Keywords can also upload chosen languages, metadata fields, and screenshots directly to a new or draft version in App Store Connect without submitting for review.
FAQ
Can fastlane deliver upload metadata without uploading a binary?
Yes. Run deliver with skip_binary_upload: true in your Fastfile or omit the --ipa and --pkg flags on the CLI. Fastlane will update only your App Store metadata, screenshots, and App Preview videos on the editable App Store Connect version.
Why does fastlane deliver pause in CI and how do I skip the preview?
By default, deliver generates an HTML summary of your metadata and screenshots and waits for confirmation before uploading. Pass force: true in your Fastfile or --force on the command line to skip the HTML report and run non-interactively.
Can fastlane deliver update App Privacy Details?
No. Fastlane's deliver action does not update App Store Connect App Privacy Details. Use Fastlane's separate upload_app_privacy_details_to_app_store action for privacy questionnaire updates.
Do I need an App Store Connect API key to export fastlane folders from Wow Keywords?
No. Wow Keywords can read your public App Store listing and export fastlane metadata folders and rendered screenshots without an App Store Connect key. You only need an API key if you want to upload directly to App Store Connect or run fastlane deliver from your terminal or CI.