You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run an operator program on a new device before its first boot #1202
An operator cannot have Simlock run a program of theirs on a new simulator or emulator before its first boot, for example a slimming step or settings written while the device is shut down, with failures reported. #1049 (point 2) asked for this. Named baselines (#327) cover the "prepare once" case by copying a device the operator prepared on a lease, and run no setup themselves, so a step that must happen before a device's very first boot, on every new device, has no place.
Who runs into this
Operators who want every new device, plain or from a baseline, changed by their own tool before it first boots, and who cannot do it on a lease because by then the device has booted.
What you would like to happen
From #1049: "An operator can run a program of their own on a new simulator before its first boot (a slimming step, settings), with failures reported."
Anything else
Split out of the #327 spec session on 2026-11-02: the maintainer kept #327's rule that Simlock copies devices and runs no setup, and asked for the hook as its own request. iOS slim before first boot is already specified in #1192 (ADR 0060). Related: #1049, #327.
A concrete use case for this hook: running simslim itself as the pre-first-boot step.
Some operators already run simslim watch --except <categories> as a LaunchAgent so every simulator on the machine, including Xcode parallel-testing clones, is slimmed by one tool with one profile. Simlock's built-in slim (#1192, ADR 0060) reimplements the same launchd overrides, so today the choice is:
With this hook, the operator could configure something like simslim on <udid> --set <deviceSet> --profile <path> --no-reboot (or the overrides-only equivalent) to run before first boot, with Simlock reporting failures. That keeps one source of truth for the slim profile and still lets Simlock gate readiness on it.
Activity
salemkode commentedon Nov 25, 2026
A concrete use case for this hook: running simslim itself as the pre-first-boot step.
Some operators already run
simslim watch --except <categories>as a LaunchAgent so every simulator on the machine, including Xcode parallel-testing clones, is slimmed by one tool with one profile. Simlock's built-in slim (#1192, ADR 0060) reimplements the same launchd overrides, so today the choice is:disabled.plist, with label lists that can drift between releases (Re-sync the iOS slim label list to simslim v0.14.0 #1328 had to re-sync); orfullmode and add--set ~/.simlock/devices/iosto the watcher, which works but slims after creation rather than as part of Simlock's create/verify step, so a lease can be granted before the device is slim (see Confirm slim mode took effect before granting the lease #152 / Confirm a slim device is actually slim before it is ready #161).With this hook, the operator could configure something like
simslim on <udid> --set <deviceSet> --profile <path> --no-reboot(or the overrides-only equivalent) to run before first boot, with Simlock reporting failures. That keeps one source of truth for the slim profile and still lets Simlock gate readiness on it.