IOS 11 Development Tutorial (ix) IOS11 data Cable Connection real-machine test
After Xcode 7.0, Apple has made a lot of changes to its licensing rights and has removed some restrictions on testing apps. Prior to Xcode7.0, Apple only provided Xcode download and real-computer testing to developers registered for the developer account ($ 99 billing account), but after Xcode 7.0, developers did not have to sign up for a paid developer account. Use the free Apple ID to test apps for free on your device, as long as developers are interested. In this section we will explain two ways to perform a real-machine test in Xcode 9.0.
Data Cable Connection Phone test
In previous versions of Xcode, the real-machine test was to connect the phone to the Apple computer via a data cable, and in Xcode, select product| on the menu bar. Destination| (the real machine in this book is the "Mac" iphone) command, then, once again, the program will be displayed on the real machine, not in the iOS emulator, as shown in 1.40.
Figure 1.40 Selecting a device
IOS 11 Development Tutorial (ix) IOS11 data Cable Connection real-machine test