Repository navigation
Description
Part of #1118.
Scope
A spike, not a build: on a worker Mac, find a way to keep a booted iOS simulator in Simlock's device set silent on the Mac's audio output without silencing the Mac, while apps inside it still play. Record what was tried and what worked as a findings comment on the feature. No code merges from this task.
In short
Someone at a Mac with Xcode 26.4 (and 27, if installed) boots a simulator in Simlock's device set the way Simlock does (simctl boot, no Simulator.app), opens a page that plays sound, and tries each candidate below until one makes the Mac silent while the page keeps running. The findings name the commands, the Xcode and runtime versions, and what an app sees.
flowchart LR
B[simctl boot in Simlock's set] --> P[Safari plays a looping sound]
P --> C{candidate applied}
C -->|Mac silent, page runs| W[record it - the answer]
C -->|sound, or page breaks| N[record it, try the next]
If this goes wrong, the implementation task is written from a mechanism that does not hold on every runtime.
Technical spec
Facts
Commit 31ff66e.
| # | Fact | Source |
|---|---|---|
| F1 | Simlock boots simulators with simctl boot, without Simulator.app |
src/drivers/ios/index.ts:826 |
| F2 | Slim mode disables daemons inside a booted simulator with simctl spawn <udid> launchctl disable system/<label> before a second boot |
src/drivers/ios/slim-labels.ts:4-8 |
| F3 | Android's counterpart is android.emulator.audio, default true, passed as -no-audio |
src/core/config.ts:395, src/drivers/android/index.ts:2740 |
Modules touched
Searches: none; the spike changes no code. Its findings go in a comment on the feature.
Contract and event changes
none.
Other code on the same state
Searches: launchctl disable in src/drivers/ios (slim mode). A slim device already disables daemons; the findings say whether the audio candidate conflicts with a slim category.
Failure modes
none: no code.
Rules in play
- The feature's Non-goals: no host-wide change to the Mac's audio.
Tests
Seam: none; a spike. The findings are checked by the person at the Mac, modelled on the manual checks in e2e/slow-ios-physical-manual.test.ts.
- (none: a spike delivers findings, not behaviour)
Done when
- A findings comment on the feature, for each candidate tried: the exact commands, Xcode and runtime versions, whether the Mac stayed silent, whether a page and an app that play sound kept running, and whether it survives a reboot of the simulator and Simlock's reclaim (
simctl eraseor the warm path). - The comment names the chosen mechanism, or says none works.
Out of scope
- Writing the setting, the driver change or tests: the implementation task, written after the findings.
Depends on
- none
Written by an agent.
Activity
V3RON commentedon Nov 3, 2026
Findings posted on #1118: #1118 (comment) — chosen mechanism: set the simulator's volume state to 0 with
notifyutilafter every boot. The implementation task is written from them in #1118's spec session.Written by an agent.