Debugging of a real machine without a certificate on iOS
Preface
After Xcode7, Apple developed permissions, and the real machine debugging no longer requires creating certificates. Of course, the absence of certificate creation does not mean that your Xcode can be directly debugged after it is connected to a real machine. You still need some settings before that. Next, let's take a look at how to debug a real machine without a certificate.
1. Add your Apple ID to Xcode
1. Open a project and go to xcode. Select xcode> preferences from the menu bar, as shown in:
2. add your own Apple ID on the Accounts tab, as shown in. If you do not have an Apple ID, register one. <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4NCjxwPjxpbWcgYWx0PQ = "here write picture description" src = "http://www.bkjia.com/uploads/allimg/160409/042244L43-1.png" title = "\"/>
3. After adding the file, as shown in, it indicates that the file has been added successfully.
2. Select the account for debugging in Xcode
1. Select the corresponding Apple ID in the Team on the General page of the project target.
2. Add Provisioning Profile
Click Fix under the Issue popped up under the selected Team. Everything is done by Xcode.
3. Add trust in the computer to the real machine
1. Select a real machine to run in Xcode. A prompt box is displayed, as shown in:
2. You do not need to worry, but also need to add trust in the computer in the real machine settings.
(1) Select "Settings"> "general"> "device management", as shown in:
(2) Click the Apple Id account you just added, for example:
(3) Click "trust", for example:
OK, it has been completed, and finally re-run, you can debug on the real machine.