Prakash Maharjan
2 min readOct 30, 2017

--

Wireless Debugging in Xcode.

Few months back I used to face issue of not being able to install and test my app on my iphone due to Lightning cable not recognizing issue or cable being misplaced somewhere. For a developer, this was really annoying when you need to test the app on real device with features like camera or push notifications as they are not supported on simulator.

Most of us who developed app for iOS wished to get some means for wireless debugging. Finally Apple added wireless debugging as feature from Xcode 9. I was very happy to hear about this. Now I am using wireless debugging feature to test my app. It is really easy to test the app with wireless debugging feature.

To use wireless debugging, your test iOS device and MAC should be connected on and share same network connection. Other requirements are MAC OSX 10.12.4 or later, Xcode 9 or later, iOS 11.0 or later.

The steps to setup wireless debugging are as follows:

  • Open Xcode 9 or later
  • Connect the device with the cable
  • At top go to Window > Devices and Simulators
  • Select Devices segment. There on left side you will find your device name from connected device list.
  • Check Connect via network option at right side . It will take some time to pair the device.
  • After successful connection, a network sign will appear at side of connected device name.
  • Now you can unplug the device after successful conection.
  • To debug app or install on the device, select the device like we do to install normally and then run the app.

Happy Wireless Debugging (:

Thanks!

--

--

Prakash Maharjan

Result oriented freelance iOS Developer (Swift & Objective C), passionate about app development. Available for freelance ios app development works.