How to Install iOS Apps Wirelessly on iPhone from Xcode
Here, we'll explain how to install an iOS app you've developed onto your iPhone wirelessly over a network from Xcode.
During development, you often install your iOS app on an iPhone or other device for debugging and testing.
Normally, you connect your iOS device to your Mac with a cable and then select the device you want to install the app on, as shown below.
But you can also install your iOS app onto your iPhone from Xcode without using a cable.
First, make sure that both the Mac running Xcode and the iPhone you want to install the app on are connected to the same network.
Temporarily connect the iOS device to your Mac with a cable to set up wireless pairing.
From the Xcode Window menu, select Devices and Simulators.
You'll see your connected iPhone listed under Devices. Select it.
Enable Connect via network. A globe icon will appear next to the device name.
Now you can install your iOS app wirelessly over the network onto your iPhone.
After this, even if you unplug the cable, the device will remain visible in the list, and you can select it to install your app.
You'll notice the globe icon next to the device name here as well.
If you encounter errors when trying to install, try restarting Xcode and attempting again.
That's how to install an iOS app you've developed onto your iPhone wirelessly from Xcode over a network.