r/Xcode 9d ago

Xcode now can deploy beyond local network

I’ve found a way that Xcode can deploy remotely to an iPhone instead of being limited to local Wi-Fi. Please check out my repo on GitHub:

https://github.com/zjz-connect/xcode-deploy-link-deploy-beyond-local-network

If you have better ideas, feel free to leave comments!

Upvotes

1 comment sorted by

u/Cautious_Show_6365 8d ago

Nice work, pairing record + LaunchAgent + Tailscale is a real path.

One thing worth flagging for anyone skimming: this doesn’t put the iPhone back in Xcode as a Run Destination. You still xcodebuild, then deploy-link install the .app. Fine if you only need a remote install. Breaks down if you want breakpoints / LLDB on a phone that’s on another Wi‑Fi.

That’s the hole I kept hitting, so I built a menu-bar app for it: nuticast.com. Pair once on the same network, then it keeps wireless debugging alive over Tailscale / ZeroTier / Netbird. No CLI. Phone has to stay on Wi‑Fi though, cellular doesn’t work (your Wi‑Fi→5G roam after the bridge is warm is something we don’t do).

Happy to compare notes if useful.