Igor Kulman

iOS tip: Wireless debugging from XCode

· Igor Kulman

One of the best XCode 9 features is the ability to deploy and debug iOS app on your device over WiFi, with no need to have the device connected to you computer by a cable. The only requirement is that the device runs iOS 11.

Setting it up is really easy. Connect the device using a cable like you normally do and go to Window | Devices and Simulators. You will see a new checkbox next to your iOS 11 devices called Connect via Network (see screenshot below), so check it. Now you can disconnect the cable and debug on your device over WiFi, the device has to be on the same network as your computer of course.

Deployinh over Wifi

If it does not work on the first try, reboot your device, it will help. To check if XCode sees your device on the network, look for the icon of a globe next to your device’s name in the left pane of the window (as shown on the screenshot).

See also