Blog ·
Fastlane frameit: how to frame App Store screenshots
Fastlane Frameit wraps your PNG captures in device frames and saves each result beside the original with an _framed.png suffix. Before you run fastlane frameit from your screenshot folder, make sure Fastlane and ImageMagick’s convert are on your PATH. The command is an alias for frame_screenshots and can add localized captions and a background.
How to run fastlane frameit
Start with raw PNG captures of your app. Frameit scans the screenshot folder and its subfolders for PNGs. From the root of an existing fastlane project, run the following commands.
cd fastlane/screenshots
fastlane frameitFrame-only output is oversized for direct App Store upload because it includes the device frame at full resolution. Use the title-and-background setup below for your store screenshots. Fastlane’s screenshot guide
Frameit downloads the device frames automatically the first time it runs. Start with one capture so you can check that the device bezel and orientation look right before framing the rest of the set. Dependency check · PNG input scan · Output naming
How to add localized captions with Framefile.json
In fastlane/screenshots, put a 1290 × 2796 portrait capture named iPhone 14 Pro Max-Brainstorming.png in each of the en-US and de-DE folders. The model in the filename tells Frameit which device frame to use at that resolution. Fastlane device definitions
Put a 1290 × 2796 background.jpg and fonts/AlwynNewRd-Rg.otf in the screenshot folder, or change the paths to your own background and font. Run this block from fastlane/screenshots to write the shared Framefile, create both caption files and render the two PNGs. It uses the background, title font and Brainstorming filter from Fastlane’s MindNode example.
cat > Framefile.json <<'JSON'
{
"default": {
"background": "./background.jpg",
"padding": 50,
"title": {
"fonts": [
{
"font": "./fonts/AlwynNewRd-Rg.otf",
"supported": ["en-US", "de-DE"]
}
],
"color": "#545454"
}
},
"data": [
{
"filter": "Brainstorming",
"keyword": { "color": "#d21559" }
}
]
}
JSON
cat > en-US/title.strings <<'STRINGS'
"Brainstorming" = "Capture your ideas";
STRINGS
cat > de-DE/title.strings <<'STRINGS'
"Brainstorming" = "Halte deine Ideen fest";
STRINGS
fastlane frameit && identify -format '%d/%f %wx%h\n' \
'en-US/iPhone 14 Pro Max-Brainstorming_framed.png' \
'de-DE/iPhone 14 Pro Max-Brainstorming_framed.png'Before running Deliver, check that identify reports iPhone 14 Pro Max-Brainstorming_framed.png in both locale folders at 1290x2796. Open both images to check that each shows its own caption. Apple’s screenshot specifications
The key Brainstorming must match part of the screenshot filename. Frameit needs a background to draw captions and skips the screenshot with this setup if it cannot find a matching nonempty title. Start each strings file with a blank line and save it as UTF-8 or UTF-16 big-endian with a byte-order mark (BOM). Add keyword.strings beside title.strings to show an optional keyword in the filter’s accent color. Fastlane’s Frameit setup guide · Caption lookup · Missing-title behavior
For a visual workflow, open Screens in Wow Keywords and import your raw captures. Write or edit the headings in Main listing, then translate them and review each target language in Localizations. Check how the longest heading fits on the screen, then render the device sizes and export the screenshots to fastlane folders.
How to fix missing captions and device frames
- All captions are missing. Check that the background file exists at the path in the Framefile and that Frameit can read the title font file. Open the locale's
title.stringsand check its first line and encoding. - One screenshot or language looks wrong. Check that the filename contains the expected filter and that the caption file is in the same locale folder as the capture. If characters show up as boxes, add a font that covers that script and list the locale in its
supportedarray. The full MindNode config includes a separate Japanese font forja-JP. - The device frame is missing or outdated. Run
fastlane frameit download_framesand try the capture again. If it still fails, check the supported devices list in the Frameit docs against the model you captured.
How to hand framed screenshots to fastlane deliver
Compare the final dimensions with the App Store screenshots guide and check the image order for each language. Copy only the finished _framed.png files into matching locale subfolders under a clean upload directory, for example from fastlane/screenshots/en-US/ to fastlane/upload-screenshots/en-US/. Deliver may pick up a raw capture if its framed counterpart is missing. Deliver screenshot loader
From the project root, run the following to upload the screenshots. Deliver options
fastlane deliver --screenshots_path fastlane/upload-screenshots --skip_metadata --skip_binary_uploadIf you rendered the sets in Wow Keywords, use its exported screenshot folders at this step. Follow the fastlane deliver guide to set the screenshot path and upload the finished files to App Store Connect.
FAQ
How do I run Frameit for Android screenshots?
Run fastlane frameit android from the Android screenshot folder. Check the supported devices in the Frameit docs before choosing which Android model to capture.
How do I flip the direction of a landscape frame?
Fastlane 2.242.0 defaults horizontal captures to :landscape_right. Add this lane to your Fastfile, replace iPhone 8-Brainstorming with the filename of your horizontal capture without .png, and run fastlane frame_landscape from the project root. The block returns :landscape_left for that capture and leaves the default orientation in place for the others. Released orientation code · Fastfile examples
lane :frame_landscape do
frameit(
path: "./fastlane/screenshots",
force_orientation_block: proc do |filename|
:landscape_left if filename == "iPhone 8-Brainstorming"
end
)
endWhen does Frameit skip screenshots with --resume?
fastlane frameit --resume skips a screenshot if its framed output already exists and is at least as recent as the capture. Run without --resume after editing captions or the Framefile so those changes are rendered even when the original captures are unchanged.