iPhone mockups and App Store screenshots
Two small Python scripts. Pillow is the only dependency (plus cryptography if
you upload). No build step, nothing to install, nothing running in the background.
| Want | Run |
|---|---|
| A screenshot inside a real iPhone | scripts/frame.py |
| App Store panels (headline + phone) | scripts/panel.py |
| Those panels onto a version | scripts/upload.py |
Device art is the real thing from
fastlane/frameit-frames, downloaded
on first use and cached in scripts/.frames/. Don't hand-draw a phone in CSS or
PIL — it takes far longer and still looks like a drawing.
Mockups
python3 frame.py shots/ --out mockups/ --width 900
python3 frame.py one.png --out . --device "iPhone 16 Pro" --colour "Natural Titanium"Transparent PNG, screen corners rounded to the real bezel. --list shows every
device; --width 0 keeps full resolution.
App Store panels
python3 panel.py --out screenshots/en-US --bg "#FCE8F4" "#FBF7FA" "#FAFAFC" \
--panel record.png "Just talk." "Every word, transcribed." \
--panel summary.png "Summary, key points," "and your to-dos." \
--panel ask.png "Ask anything." "Answers from your notes."1320x2868 RGB, no alpha. That's the 6.9" size; Apple scales one set to every other iPhone, so a listing needs only this one.
Pass the whole set in one command. The headline size is fitted across all of them so type doesn't change size as someone swipes, which only works if every headline is known up front.
Uploading
export ASC_KEY_ID=XXXX ASC_ISSUER_ID=xxxxxxxx-... ASC_KEY_PATH=~/Downloads/AuthKey_XXXX.p8
python3 upload.py --app 1234567890 --version 2.0.0 --in screenshots/en-USIt prints what's already on the version before touching anything, and refuses to
add to a slot that's occupied unless you pass --replace. Worth reading that
output aloud to the user: a version often still carries screenshots from the
previous release, and if the app was renamed or redesigned those are now wrong but
still being served.
Source screenshots
Each image should be one screen at the device's native resolution (a 17 Pro is 1206x2622). The scripts resize to fit, so close is fine, but a mismatched aspect ratio stretches the UI.
- Simulator —
xcrun simctl io booted screenshot out.png. Best when the app has real content. - Design renders — fine when the app has no data worth showing, but say so in the repo: a listing built from renders should be re-shot once the app is real.
A freshly installed simulator shows empty states. Seeding it with real content is worth a try; if that turns out to be hard, use design renders rather than shipping screenshots of an empty app.
Renders usually start below the status bar, and a framed phone with an empty notch
row looks unfinished. --status draws one, picking light or dark ink per screen by
sampling it. Simulator captures already have a status bar — adding a second would
double it, so only use --status on renders.
Writing the headlines
This decides whether the set works, so give it real thought rather than restating feature names.
- Make it a story. Panels that each name a feature read as a list; panels that move — you speak, it understands, it works for you, here's the proof, it remembers — read as a reason to download. Order them so each earns the next.
- Panels 1 and 2 carry the weight. They're what shows in the search results gallery; most people never see panel 5. Strongest, shortest promise first.
- Echo the words people searched for. Pull vocabulary from the app's name, subtitle and keywords. Apple does not index screenshot text, so this changes nothing about ranking — it's there so someone arriving from a search sees their own words and taps. Say that plainly if asked for "ASO keywords in the screenshots"; it's a conversion lever, not a ranking one.
- Two short lines. One long headline shrinks the type on every panel, since the size is fitted across the set.
- Claim only what the build does. A listing is a promise — check the feature against the code before putting it on a panel.
Before submitting
If the app targets iPad (TARGETED_DEVICE_FAMILY includes 2), App Store Connect
also requires a 13" iPad set and blocks submission without one. There's no way to
render that from iPhone screenshots — flag it as a design decision rather than
stretching artwork to fit.
When output looks wrong
references/gotchas.md covers the failure modes that look almost right: square
corners past the bezel, stretched screens, headlines that wrap, and what App Store
Connect rejects. Read it if something's off — several of these fail quietly.