iOS: make the device set configurable so Xcode tools can target a leased simulator
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- ios, typescript
Línea de trabajo
Start with ADR 0001 and the iOS device set configuration and lifecycle code; the issue does not name specific files for the change. First map how the worker selects and manages its CoreSimulator device set, then define the default, runtime-change behavior, and simlock simctl behavior alongside the recovery risks. Done means the spec resolves those open questions and documents the effects of targeting the default set.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Simlock's iOS simulators live in their own CoreSimulator device set (ADR 0001). No Xcode tool can target a simulator there from the command line: xcodebuild -destination "platform=iOS Simulator,id=<udid>", react-native run-ios --udid, Expo, Detox, Maestro and agent-device's XCTest runner all read the default set. The only switch is the per-user DVTSimulatorSetLocation default, which leaks into every xcodebuild run of that user and hides the default-set simulators while set. Every per-process route was tested and does not work. The docs never mention the limit, and the only workaround is to build for generic/platform=iOS Simulator and install with simlock simctl install.
Android does not have this problem: adb, Gradle and the RN CLI honour ANDROID_ADB_SERVER_PORT, so the separate adb server is compatible with the tooling. The question is about iOS only.
Proposal: make the iOS device set configurable, ios.deviceSet: "simlock" | "default", and decide which is the default.
What the isolation buys and costs
Buys: an accident boundary. xcrun simctl shutdown all, erase all, delete unavailable, Xcode's "Delete All Simulators" and an RN CLI that picks booted cannot touch a leased device. src/drivers/AGENTS.md calls the root "an accident boundary, not a security boundary".
Costs: the primary use-cases cannot build onto a leased device without the generic-build detour, and UI test runners cannot target it at all.
What dropping it does not break: cleanup, nuke and the warm pool act only on devices the registry owns, so a developer's own simulators stay safe. Devices are already named simlock-<uuid>. A leased device that is shut down from outside is already rebooted under its lease; a deleted one already ends its lease as device-lost.
What dropping it costs: a developer whose Mac is a worker sees every simlock-… device in Xcode's destination picker. A stray erase all wipes an agent's in-progress state, and recovery reboots but does not reinstall. The refusal list in simlock simctl protects nothing once agents run xcrun simctl directly.
Context
Found in the 2026-10-23 product review. The maintainer rejected the per-user default on 2026-09-14 and on 2026-10-23 chose to keep the isolation and document the generic build for now, then asked for this to be made configurable.
Open questions for the spec session: the default value (the review leaned to default once recovery after an external shutdown or erase is tested and the docs state what a careless simctl … all does); whether the key can change on a running worker or needs nuke --delete-devices; what simlock simctl does under default (plain passthrough, or still refuse the lifecycle commands); the ADR that supersedes 0001 for iOS.
Written by an agent.
- Lenguaje dominante
- TypeScript
- Estrellas
- 22
- Forks
- 2
- Merge medio
- 9 h 17 min
- PR fusionados (30 d)
- 423
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstackincubator/simlock
-
bug:ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
callstackincubator/simlock#639 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
feature:spec
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
callstackincubator/simlock#1024 ·
Los mantenedores suelen responder en 1 día
-
iOS simulator input through the HID injectorPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotask:draft
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
callstackincubator/simlock#1019 ·
Los mantenedores suelen responder en 1 día
-
Android input through scrcpy's control channelPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotask:draft
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
callstackincubator/simlock#1018 ·
Los mantenedores suelen responder en 1 día
-
Input socket for a leasePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotask:draft
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
callstackincubator/simlock#1017 ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstackincubator/simlock
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
galaxyproject/loom#616 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
redhat-developer/rhdh-plugin-export-overlays#4580 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
eknowledger/toolbench#266 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
devdotfast/whiteboard#1415 · 1 comentario ·
Los mantenedores suelen responder en 1 día