Expand description
Device discovery and the rootless userspace tunnel.
lockdown (via usbmuxd, USB or Wi-Fi) → CoreDeviceProxy → CDTunnel → software TCP stack → RSD. Nothing here needs root or a utun interface, and nothing depends on Xcode’s own CoreDevice tunnel.
Structs§
Constants§
Functions§
- list
- Connected devices, one entry per phone, USB preferred.
- list_
raw - Every (udid, transport) pair usbmuxd knows about. A phone reachable over both USB and Wi-Fi shows up twice.
- open_
tunnel - Open the userspace tunnel and read the RSD service list.
- passcode_
locked - What lockdown says about the passcode lock (
PasswordProtected: true while the phone is locked).Nonewhen lockdown did not say. Read-only. - route
- How to reach
udid: USB when plugged in, otherwise Wi-Fi.