Skip to content

Run an operator program on a new device before its first boot #1202

Open

Description

@V3RON

The problem

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.

Written by an agent.

Activity

  1. added
    request:new
    on Nov 2, 2026
  2. salemkode commented on Nov 25, 2026

    @salemkode

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    request:new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions