Repository navigation
Releases
Retake 0.0.3
Breaking Change: Scenes
A scene now behaves the same way edits do in how it picks a device to run on. Scenes move out of
scenes/iphone/ and scenes/ipad/, which aren't read any more, into scenes/. Retake names any
scene left behind, in validate and record, and records nothing until it's moved.
- A scene names the device types it plays on,
devices, every one unless it says, and a
step's owndevicesthe types among those it plays on: on another it's skipped but keeps its
number, so the steps after it are numbered alike, and an anchor to it fails there. Anything at a
scene's top or in a step can be given again underiphoneoripad, laid over what it overrides,
as in an edit; an override or a step'sdevicesnaming a type the scene doesn't play on is
refused. composewrites the scene for the device it's on, keeping each step it doesn't change as the
file has it, its overrides anddeviceswith it.retake initstarts a project withscenes/and onelaunchscene for every type.- An edit's
devicesis every type unless it names some, as a scene's is. - To move a project, put each scene in
scenes/. Where a type's scene and the other's say the
same, keep one. Where they differ, keep one and give the other's differences under"iphone": { … }or"ipad": { … }, in a step or at the top, as in an edit; give a step only one type plays
"devices": ["ipad"]. A scene for only one type names it:"devices": ["iphone"]. - An edit that anchored by step number to a scene that now has a step for one type only should
anchor by the step'sid: the step keeps its number on both types, so the numbers after it don't
move, but nothing can anchor to it on the type that skips it.
New Feature: Taps and Drag offsets
- A tap or a drag's end on an element can be moved off it, by
offsetin points and
offsetPercentin percent of the element's width and height, from its activation point: for a
finger that has to touch or lift somewhere the element places rather than on it, such as a game
piece drawn above the finger. A tap or a drag's start with an offset is touched where Retake finds
it on the screen just before. Nothing breaks.
Bug Fix: Compose respects holds
retake composewaits out each step's hold before answering, asrecorddoes, rather than
only writing it into the scene: a tap's from when it's sent, any other step's from when it ends,
and the scene'sdefaultHoldfor a step that gives none. The next step no longer runs while the
app is still moving from the last, landing where it wouldn't in a take, and the screencompose
prints after a step, with itssuggestion, is the one once the hold is over. Nothing breaks.
Retake 0.0.2
mise use github:justinseanmartin/Retake@0.0.2Until 1.0, anything may change between versions; pin one. See the README to start, the example, and Documentation/cli.md for every command. Schemas are at https://justinseanmartin.github.io/Retake/schemas/0.0.2/.
Stills from the same scenes as the videos, and turns that wait for the device.
New Scene Step: Capture
- A scene's
capturestep saves the screen as a PNG, named for the step, asrecordplays the scene, into the output directory'scaptures/<type>/<scene>/. It's a screenshot the device takes, at its screen's own resolution, with the clean status bar the device shows while it's recorded. See Captures. retake record --stills-onlytakes a scene's captures without recording a take.retake composeadds a capture step withcapture --name <name>.retake clean --capturesdeletes captures, andclean --unusedkeeps every scene that captures.recordsays, for each size it captured, which App Store Connect display takes screenshots that size, and which display it requires. A capture is the device's own resolution, which often isn't a size App Store Connect takes: Retake isn't purpose built specifically for App Store screenshots.
Behavior Changes
retake initwrites a starter set, scene and edit in a new project:sets/base.json, as thedefaultSet; alaunchscene for each device type, which records the app launching; andedits/preview.json, which cuts it, captioned. A project whose folders already hold files gets none of them.- A turn waits for the rotation. While
recordhas the device's screen, anorientationstep ends once the screen has stopped moving, not as soon as the app has turned; when composing, a second and a half after the turn. A scene no longer needs aholdafter a turn to keep the rotation out of the next step. - Fixed a hang when many of the tools Retake runs, such as
devicectl, ran at once on a Mac with few cores, as Retake's own tests do on CI.
Compatibility
Everything 0.0.1 wrote still works with 0.0.2: its files, its takes, and the apps it embedded, since the support library's contract is unchanged. Two things to know:
- A take recorded again with 0.0.2 has its
orientationsteps end later, after the rotation rather than during it. An edit anchored to a turn's end, such as a clip that starts there, lands later in the take than it did, so check those clips after recording again, and drop aholda scene has after a turn only to wait for it. - A file whose
"$schema"names 0.0.1's schema is read as 0.0.2's, with a warning;retake cutupdates the key. Retake 0.0.1 can't read a scene with acapturestep.
Needs a Mac with Apple silicon on macOS 14 or later, Xcode, and an iPhone or iPad on iOS 17 or later. Built against The Button Heist 0.7.1. The binary is signed with a Developer ID and notarized.
Retake 0.0.1
The first release of Retake: App Store preview videos made from your running iOS app, on a real iPhone or iPad over USB, re-recorded and re-cut from files you check in.
mise use github:justinseanmartin/Retake@0.0.1Until 1.0, anything may change between versions; pin one. See the README to start, with the Notes example, and Documentation/cli.md for every command.
What's in it
- Sets put the app in a known state before a take: its files, defaults, launch environment and arguments, appearance, and the preview's shape (
previewAspect), with no code in the app. - Scenes walk through the app by what's on screen, with taps, typing, drags, waits and turns;
retake composewrites one a step at a time on the device. retake recordplays each scene on the device and records a take: a movie and a step log of when each step ran and what was on screen.- Edits cut the takes into a video, anchored to steps rather than seconds, so a new take reuses the edit: captions, touches, spotlights, blurs, stills, cards, music and sounds, cross-fades, speed, and per-device overrides.
retake cutrenders a ProRes master and an.mp4to App Store Connect's specification. retake sharemakes a small video to post: one cut or take, or several side by side, such as the iPhone's and the iPad's.retake status,takes,info,validate,doctor,check, and JSON Schemas for every file, published athttps://justinseanmartin.github.io/Retake/schemas/0.0.1/for editors to complete and check them.
Needs a Mac with Apple silicon on macOS 14 or later, Xcode, and an iPhone or iPad on iOS 17 or later. Built against The Button Heist 0.7.1. The binary is signed with a Developer ID and notarized.