Remote USB & device debugging
You can forward a physical USB device (for example an iPhone or iPad) from your local computer to your remote Mac, so Xcode sees it as if it were plugged in there. This uses third-party USB-over-IP software.
How it works
Section titled “How it works”A small server runs on your local machine (where the device is physically plugged in) and a client runs on the remote Mac, tunnelling the USB connection over the network.
Common tools:
- VirtualHere — server on your local machine, client on the remote Mac.
- USB Network Gate — cross-platform, per-device licensing.
Typical setup (VirtualHere)
Section titled “Typical setup (VirtualHere)”- Run the VirtualHere server on the computer where the iPhone is plugged in.
- Install and run the VirtualHere client on your remote Mac (over Screen Sharing).
- In the client, use the shared device — it now appears to macOS/Xcode as a local USB device.
- In Xcode, the device shows up under Window → Devices and Simulators.