English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Device environment: Mac OSX 10.12.5, iOS11, Xcode9
PS: This is WWDC2017new feature, iOS11Above, Xcode9This is a rigid requirement. This feature is not easy to find, so I've remembered it
Connect the phone to Xcode, open the Xcode menu: Windows->Device and Simulators. Find the connected device and check the Connect via network option.
After that, Xcode will spin for a while, be patient and wait for a while and it will succeed. At this time, unplug the data cable, and you can see that the phone is still on the device connection list on the left.
Run our project, and you will see our wireless connected phone in the device list without any problems. Select the phone and run
If everything goes well, it won't run at this time. You still need the final step. Go back to the device list just now, select the phone, right-click, and select a Connect via IP Address option from the card that appears. After selecting, enter the local network IP address of the phone.
After completion, you can see that there is an Earth connection icon on the right side of the connected phone, which looks like this:
In the future, when running the project, if the phone is in the local area network, there will also be this icon in the drop-down list:
The final step is to select and run directly. If everything goes well, the project can run without a data cable.
Additionally: This method supports wireless debugging. After the first connection, you won't need a data cable anymore~
That's all for this article. Hope it helps everyone's learning and also hope everyone will support the Naiya Tutorial.
Declaration: The content of this article is from the Internet, the copyright belongs to the original author. The content is contributed and uploaded by Internet users spontaneously. This website does not own the copyright, has not been manually edited, and does not assume any relevant legal liability. If you find any content suspected of copyright infringement, please send an email to: notice#oldtoolbag.com (Please replace # with @ when sending an email to report abuse, and provide relevant evidence. Once verified, this site will immediately delete the infringing content.)