IOS 11 Development Tutorial (10) iOS11 Wireless connection phone real-computer test
In Xcode 9.0, you can already perform a real-computer test by wirelessly connecting your phone. The following steps are described:
(1) First you need to connect your phone to an Apple computer using a data cable.
(2) Open Xcode and select window| in the menu bar The Devices and simulators command, which pops up the Devices and Simulators dialog box, is shown in 1.41.
(3) Select the Connect via network check box.
(4) Unplug the data cable from the Apple Computer and the real opportunity is displayed as disconnected. Right-click on your phone to bring up a shortcut menu, shown in 1.42.
(5) Select one of the connect via IP address ... command that pops up the dialog box shown in 1.43. Enter the phone's IP address in this dialog box and click the Connect button, and the real machine is connected to the Apple Computer wirelessly, and the developer can select the real machine to test in the project to be tested.
Figure 1.41 Devices and simulators
Figure 1.42 shortcut menu
Figure 1.43 Entering an IP address
IOS 11 Development Tutorial (10) iOS11 Wireless connection phone real-computer test