IOS Study Notes (10)-iOS real machine debugging

Source: Internet
Author: User

I have been using a simulator for the past. Today I am using a real machine for debugging. This article describes how to debug a real machine. Real machine debugging requires 99 $ registration. If you have registered an account, you can also use the registered account to invite you to join an account. The registered account can assign you permissions, I also used the invitation to become a developer.

1. Log On: log on first

Https://developer.apple.com/ios/manage/overview/index.action

After logon, the following page is displayed:

Figure 1

2. Create a certificate. Prepare the Certificate in advance.

1) Finder-> application-> key string access

Figure 2

This will open the page as shown in, and fill in the content as shown in the figure:



Figure 3


After the certificate is generated, make sure to store the certificate to the disk.


3. submit a certificate

Click certificates in figure 1 to go to the following page and complete certificates, idetifiers, devices, provisioning profiles in sequence.

Figure 4

Click certificates to go to the following page:

Figure 5

Click the plus sign in the upper right corner To Go To The following page. The following figure is displayed:



Figure 6

This screenshot is incomplete. There is "iOS App Development" on it. Select and download the "Worldwide Developer Relations Certificate Authority" Certificate (in blue). After the download, double-click it, you can see in key string access:


Figure 7


Go to the next step,


Figure 8

Upload the certificate created in step 2. After uploading the certificate, go to the next step.

4. Download the certificate and upload it to the following page. Click Download to download the certificate. After downloading the certificate, double-click the certificate.

Figure 9

5. Create an appid

Click Idetifiers To Go To The following interface:


Figure 10

Click the plus sign in the upper right corner to add the appid.

6. Add Device

Add the ID of the real machine to this directory, and click the plus sign in the upper right corner. The real machine ID is obtained using iTuns (UDID ).


Figure 11

7. Create provisioning profiles

Finally, you can generate Provisioning Profiles. This is the most important thing. All the above is for it. Go to Provisioning Profiles, click the plus sign in the upper right corner to go to the next step, and generate Provisioning Profiles in order, download the generated file and double-click it.

Go to Xcode and click "Organizer" in the upper-right corner of Xcode To Go To The following page. The Status is "Valid profile", indicating that the installation is successful and you can perform real-machine debugging.

Figure 12

/**

* @ Author Zhang xingye * http://blog.csdn.net/xyz_lmn* iOS entry group: 83702688

* Android Development Group: 241395671

* My Sina Weibo:@ Zhang xingye TBOW*/

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.