mirror of
https://github.com/conorluddy/ios-simulator-skill.git
synced 2026-09-14 20:07:12 +08:00
28ef1a4818
`get_booted_device_udid()` silently returned the first booted simulator. When more than one is booted (or a stale idb companion lingers), gesture and tap commands resolve to a device other than the one being watched — idb reports success on the wrong device, so swipes/scrolls silently no-op with no error. Keep the first-match default but print a stderr warning on ambiguity naming the selected device and advising an explicit --udid. Add `get_booted_device_udids()` so callers can detect the multi-device case, plus regression tests covering single/multiple/none/failure listings.