Debugging of a real machine without a certificate on iOS

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.