Troubleshoot a wireless device (iOS, tvOS)

Before you begin

Verify that Xcode can see the device

Ping the device

  1. Find the IP address of the device.

  2. On the Mac, open Terminal.

  3. Type ping followed by a space and the device’s IP address.

    If the Mac can see the device, the output of this command looks like:

    > ping 10.0.1.2PING 10.0.1.2 (10.0.1.2): 56 data bytes64 bytes from 10.0.1.2: icmp_seq=0 ttl=64 time=97.413 ms64 bytes from 10.0.1.2: icmp_seq=1 ttl=64 time=141.892 ms

    If there is an error, the output looks like:

    Request timeout for icmp_seq 0

If you can’t ping the device, then the ICMP is blocked or there is some other connectivity issue. Use an Ethernet cable to connect to the device.

Check that port 62078 is open

Use an Ethernet cable to connect to the device

Re-pair the network device

  1. Unpair a wireless device.

  2. Pair the iOS device with Xcode or pair the Apple TV with Xcode again.

See alsoRun an app on a wireless device (iOS, tvOS, watchOS)