iosxcodeios11xcode9

"Connect via network" wireless debugging not working Xcode 9


I am trying to run my iOS app via wifi network. But its not working as I expected.

Connected Network sign is not displaying.

enter image description here

I am using:

macOS Sierra - 10.12.6 (in Mac mini)

Xcode - 9.0 (9A235)

iOS - 11.0

NOTE: Mac mini and iPhone both are connected to same wifi network.

Already tried:

  1. Change another network

  2. Restart iPhone and Mac mini twice.

  3. Unpair Device and again pair device.

Am I missing something?


Solution

  • I was having the same issue and performed the following steps to get things working:

    1. Open "Devices and Simulators"
    2. Connect your device and check the "Connect via network" checkbox
    3. Disconnect your device
    4. Right click listing for your device in the left hand column (Under Disconnected)
    5. Select "Connect via IP Address.." and enter your device's IP address

    enter image description here