How to test apps with a wireless device using the Xcode development environment
For those of us who develop software for iOS, sometimes we need to test it on a ‘real’ device.
Thank you for reading this post, don't forget to subscribe!
Up until the other day, I was under the impression that the developer always needed to plug in the device to the computer and then install the app from there.
But I found this neat little tip that saves time (and frustration) with having to always plug in the device.
1. Fire up Xcode and load in a current project that you’re currently doing.
2. (One more time) plug in your iOS device to your development machine.
3. Select WINDOW > DEVICES AND SIMULATORS.
4. Click on the DEVICES Tab.
5. Select the device that’s connected to your computer.
6. Place a check mark in the CONNECT VIA NETWORK option (as shown in the included screen shot).
7. Xcode will then enable the device to receive installations wirelessly.
8. Unplug the device from the computer.
9. Now when ever you want to test an app on a device, select it from the device list in Xcode.
10. Eligible devices will have a world icon next to the device name.
You can repeat the steps with any iOS device that are marked for development.