---
title: "VirtualHere and USB Network Gate with Xcode: why the iPhone drops, and what works"
description: "USB-over-network tools often fail to show an iPhone in Xcode, or lose it right after it connects. Why that happens since iOS 17, and how to share a cabled iPhone between Macs instead."
url: https://www.nuticast.com/blog/virtualhere-usb-network-gate-xcode
---

# VirtualHere and USB Network Gate with Xcode: why the iPhone drops, and what works

By [Taha Yasin Kucuk](https://www.nuticast.com/about) Published 3 November 2026 Updated 5 November 2026 4 min read

[Share the cable with Xcode: try Nuticast](https://www.nuticast.com/download)

**Short answer:** USB-over-network tools such as VirtualHere and USB Network Gate forward raw USB from one computer to another. That works for many devices, but developers keep reporting the same two problems with an iPhone and Xcode: the phone shows up in the USB tool but not in Xcode, or it connects and then drops. Since iOS 17, Xcode doesn't talk to an iPhone over plain USB anymore. It reaches it over network services (RemotePairing and a CoreDevice tunnel) that run on top of the cable. If the phone is plugged into a **Mac**, it's more reliable to forward those services instead of the USB device. That's what [Nuticast's USB sharing](https://www.nuticast.com/usb-sharing) does.

## The setup this is about

The iPhone is cabled to one computer, and Xcode runs on another:

- a test phone plugged into a Mac mini in a rack or a cupboard,
- a phone on a teammate's desk,
- your Mac at home, while you work from somewhere else.

You want Xcode on your Mac to build, install and debug on that phone as if the cable were yours.

## What developers run into

The reports follow a pattern:

- **The phone is listed in the USB tool, but Xcode doesn't see it.** One VirtualHere user describes exactly that ([forum thread](https://www.virtualhere.com/node/3493)).
- **The connection drops right away** when the device sits on a remote Mac ([forum thread](https://www.virtualhere.com/node/1343)).
- **Setups that worked before iOS 17 stopped working.** A remote Mac that used to see local devices could no longer find an iOS 17 phone after the Xcode 15 update ([Apple Developer Forums](https://developer.apple.com/forums/thread/762076)).

None of this means the tools are bad. They forward USB well. The problem is what Xcode expects to find at the other end.

## Why it happens

Since Xcode 15 and iOS 17, Xcode uses Apple's CoreDevice stack. When an iPhone is plugged in, it brings up a small network link over the cable (USB-NCM), and Xcode reaches the phone through services on that link: `remotepairingd` checks the pairing, then a tunnel (QUIC over UDP) carries installs, launches and the debugger.

A USB-over-network tool has to recreate that whole USB device on the other computer, including its network interface, with the timing intact. Each extra layer is another chance for the RemotePairing handshake or the tunnel to time out. When one does, Xcode simply doesn't list the phone, or marks it offline.

## A route that skips USB forwarding

If the computer with the cable is a Mac, you don't need to forward USB at all. The phone already offers RemotePairing and its tunnel on the cable's network link. Forward those ports over the network, and tell Xcode on your Mac where to find the phone, and Xcode connects the same way it does locally.

That's how Nuticast's USB sharing works:

1. **On the Mac with the cable**, switch on USB Sharing (or run `nuticast share`). It finds the phone's RemotePairing port and forwards it, plus each tunnel port Xcode asks for, from one of that Mac's network addresses.
2. **On the Mac with Xcode**, add the phone with the **USB via computer** connector and the other Mac's address, then start the bridge.
3. Xcode lists the iPhone as a normal run destination. Run, breakpoints, LLDB and the console work as usual.

The phone needs no Wi‑Fi and no VPN. The two Macs need to reach each other, ideally over a mesh VPN such as [Tailscale](https://www.nuticast.com/blog/tailscale-for-ios-developers), so the forwarded ports aren't open to a whole office network.

## Side by side

|  | USB-over-network tool | Nuticast USB sharing |
| --- | --- | --- |
| What it forwards | The whole USB device | The network services Xcode uses (RemotePairing, CoreDevice tunnel) |
| Computer with the cable | Mac, Windows, Linux, NAS | A Mac running Nuticast, or a Windows PC running Nuticast USB Host |
| iPhone shows up in Xcode | Often reported missing or dropping | As a normal run destination |
| Phone needs Wi‑Fi | No | No |
| Pairing | Through the forwarded USB | Paired once with the Xcode Mac, next to it |
| Other USB devices | Yes, anything | No, iPhone and iPad only |
| Cost | Paid | Free on the Mac with the cable; a license on the Xcode Mac |

If you need to share printers, dongles or Android phones too, a USB-over-network tool is still the right kind of product. For an iPhone and Xcode, forwarding the services is the shorter path.

The iPhone is not on your Mac’s Wi‑Fi? Xcode can still run on it.

Nuticast makes the phone a normal Xcode run destination: on another Wi‑Fi over Tailscale, ZeroTier or Netbird (Remote Wi‑Fi; the phone stays on Wi‑Fi, cellular does not work), or plugged into another computer (USB via computer). Pairing is free. Bridging is $49 per year, with a 14-day refund.

[Download for Mac](https://www.nuticast.com/download/Nuticast.dmg) [Get Nuticast for Mac](https://www.nuticast.com/download) [How it works](https://www.nuticast.com/how-it-works)

## Common questions

**Can Xcode use an iPhone plugged into another Mac without extra software?** No. Xcode only sees devices on its own Mac's cable or Wi‑Fi. You need either a remote-desktop session to the other Mac, so Xcode runs there, or a tool that brings the phone to your Mac's Xcode, such as Nuticast's [USB sharing](https://www.nuticast.com/usb-sharing).

**Does the phone have to be paired with my Mac first?** Yes, once, while it's next to your Mac (over Wi‑Fi on iOS 27 or later, or over a cable). After that it can live on the other Mac's cable.

**Does the Mac with the cable need a Nuticast license?** No. Only the Mac that runs Xcode and starts the bridge needs one.

**Does this work if the computer with the cable runs Windows or Linux?** Windows: yes. Nuticast USB Host runs on the Windows PC with the cable and forwards the iPhone to your Xcode Mac; see [the Windows host](https://www.nuticast.com/usb-sharing/setup#windows). Linux isn't supported. The computer with Xcode is always a Mac.

Written by [Taha Yasin Kucuk](https://www.nuticast.com/about)

The iOS developer who builds Nuticast, answers its support mail and writes every guide on this site. If a step does not match what you see, write to [hello@nuticast.com](mailto:hello@nuticast.com).

[GitHub](https://github.com/webwarrior06) [About Nuticast](https://www.nuticast.com/about) [Changelog](https://www.nuticast.com/changelog)

## Related guides

- [3 November 2026 Share a test iPhone with every Mac on your team](https://www.nuticast.com/blog/share-test-iphone-across-team-macs)
- [6 November 2026 Debug an iPhone cabled to a Windows PC from Xcode on a Mac](https://www.nuticast.com/blog/debug-iphone-plugged-into-windows-pc-xcode)
- [8 November 2026 Debug an iPhone in Xcode when it's on a different network](https://www.nuticast.com/blog/debug-iphone-xcode-different-network)

## Try it. Pairing is free.

Bridging needs a license on the Xcode Mac: $49 per year, with a 14-day refund if it does not work for your setup. Requires macOS 13.5+, Xcode 15+ and iOS 17+.

[Download for Mac](https://www.nuticast.com/download/Nuticast.dmg) [Send this to my Mac](mailto:?subject=Nuticast%20for%20my%20Mac&body=https%3A%2F%2Fwww.nuticast.com%2Fdownload) Shares the download link with your Mac. [See pricing](https://www.nuticast.com/pricing)

[More guides](https://www.nuticast.com/blog)
