ChenYilong / ChenYilong/iOS11AdaptationTips

How to do wireless debug on Xcode 9 and iOS 11?

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
477
Forks
47
PR merge metrics
No merged PRs in 30d

Description

**Set up a device for network debugging**

Debug your app running on an iOS or tvOS device over a WiFi or other network connection.

**Note:** Network debugging **requires Xcode 9.0 or later** running on **macOS 10.12.4 or later**, and on the device, **requires iOS 11.0 or later**, or **tvOS 11.0 or later**.

**Steps to set up an iPhone, iPad, or iPod touch**

**1.** Choose Window > Devices and Simulators, then in the window that appears, click Devices.

**2.** Connect your device to your Mac with a lightning cable.

**3.** In the left column, select the device, and in the detail area, select Connect via network.

[![enter image description here][1]][1]

Xcode pairs with your device. If Xcode can connect with the device using a network, a network icon appears next to the device in the left column.

[![enter image description here][2]][2]

**4.** Disconnect your device.

**Now you are ready for debugging over the network.**

**NOTE: MAC system and iPhone/iPad should share same network to use wireless debugging.**

[1]: https://i.stack.imgur.com/4Ooce.png
[2]: https://i.stack.imgur.com/TTKW7.png

Reference: [How to do wireless debug on Xcode 9 and iOS 11?](https://stackoverflow.com/questions/44382841/how-to-do-wireless-debug-on-xcode-9-and-ios-11/44383502#44383502)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.