iOS - real device wireless debugging

Real machine wireless debugging steps:
1. Connect the real machine debugging data cable, click on Xcodethe tool bar, click Window -> Devices and Simulators
insert image description here
to display:
insert image description here
selected Connect via network, the default is not selected, then you will see a network ball icon on the left device.

2. Unplug the data cable connected to the real device. Note that there is no “ option when you click on the device on the leftConnect via IP Address...
insert image description here
, that is, you can’t see the status of the picture below . 3. You need to restart after unplugging the data cable Real machine, because it has been checked Connect via network, so even if the data cable is disconnected, this real machine will be displayed

insert image description here
After running, I found that it couldn’t run. At this time, I went to Window -> Devices and Simulatorsthe middle right button of the real machine and found that there was already Connect via IP Address...an option.
insert image description here

4. Click Connect via IP Address...to enter the IP address of the mobile phone.
insert image description here
5. Check the IP address of the mobile phone: Settings->WLAN->Details. After obtaining the IP address, fill it into the address in step 4 and click connect. Wait for a while and the connection will be successful. 6.
insert image description here
Connect After success, a network dome logo will be displayed on the device, and you can directly debug wirelessly in the future.
insert image description here
Note:
1. The real device and the computer need to be connected in the same LAN. After the connection is successful, it will be automatically recognized in the future
; After the data line, it will not be displayed Connect via IP Address..., and it will only appear after running the real machine again.

Guess you like

Origin blog.csdn.net/SSY_1992/article/details/118628463
Recommended