About iOS Developer Account function Summary-Real machine debugging (a)

Source: Internet
Author: User

Reprint Please specify source : http://blog.csdn.net/dengbin9009/article/details/43966163

In everyday iOS development, the simulator can do most of the functional debugging, but due to the difference between the CPU and the GPU on the computer and the phone, there is a real difference in the appearance of some processing.
So the real machine debugging is necessary, and in the iOS development need to use the real machine debugging must have a matching certificate, the following tells you how to start from a development of the account to the real machine debugging the complete process.

First of all, the real machine debugging process:
Create a profile, create a configuration file, create a certificate, add devices, AppID
Debug run with Xcode matching certificate

First, create AppID (Identifier)
1. Enter the developer Center: Open https://developer.apple.com/, click Member Center, enter the corresponding development of the account password after the point to determine.

2. Enter the certificate Management center and click Certificate ...

3. Click Identifiers

4. Click Register your App ID.

5. Create AppID
At this point you will probably see a picture like this:

1) App ID Description: Fill in the name you gave the app ID, which is just a descriptive message.
2) App ID Prefix: This is the team ID of the account you are developing (can be considered as the only sign of the certificate, available to keychain, interested to see: IOS keychain), as the App ID prefix, cannot be changed.
3) App ID suffix:app ID suffix, can be divided into fixed suffix and universal suffix.
Select Explicit app ID: fixed suffix, when using such app ID, the bundle ID of our app must match the app ID exactly. For example: App ID: Com.dengbin.goodman Then, the bundle ID of the app must also be Com.dengbin.goodman, which is very useful when debugging a fixed app.
Select the Wildcard app ID: Universal suffix, when using such app IDs, the app's bundle ID will be applied to a large extent, as the wildcard "*" can be applied here for example:
The App ID is: Com.dengbin.*,app bundle ID can be Com.dengbin.goodman or Com.dengbin.badman. But it can not be dengbin.goodman or dengbin.badman, that is, the wildcard character can be any string, but other than wildcard characters need to match exactly.
The app ID is: *, then the bundle ID of the app can be any string for a long time. such as Com.dengbin.goodman or Dengbin.goodman or Goodman.
I apply a fixed suffix here, that is, select the explicit App ID. APP ID:com.dengbin.goodman
4) Some of the services that need to be opened in the APP Services:app are not introduced here, we apply the default as well.
Then the next step: Continue, you will be forwarded to a page confirming the app ID, and submit after confirmation. The end is the completion page. Done.

Second, add devices
1. Click Devices-All in the left column. Then add the certificate "+".

2. Select Register Device, fill in the name and Udid,name can be filled in freely, such as: Dengbin's iphone. Udid is the phone's unique identification code, can be used in the case of the phone connected to the computer with itunes or itools and other tools to obtain. This is not specifically stated here. Continue.

3. Confirmation information, Register. There will be a finish page at the end. Done.

Iii. Certificate of Generation
1. Click Certificates-Development in the left column. Then add the certificate "+".

2. Select iOS App development with the certificate type development. Continue

3. This step is a description of the certificate and can be directly continue.

4. Select the local root certificate, most of the local root certificate is not, or previously created but not saved, so this step is slightly cumbersome.
1) Open Mac Local Keychain
2) Create the local root certificate and save it on the desktop.



You can see the Certsigningrequest file on the desktop

3) Back to Web page, select Certsigningrequest file, Continue.


5. Download the certificate to the desktop.

At this point you can see a CER file on the desktop

Iv. Creating a configuration file
1. Click Provisioning Profiles-Development in the left column.
2. Click manually generate profiles to generate the profile manually, or click "+" in the upper right corner.

3. Select the iOS App development under development. Continue

4. Select the app ID that we created in the first step or the app ID you want. Continue

5. Select the certificate that allows this profile to be used. Continue

6. Select the devices that are allowed to use this profile. Continue

7. Take a name for our configuration file. Generate

8. At this point our configuration file has been created, and the same as the certificate, in this download configuration file.

At this point, you can see a profile xxx.mobileprovision on the desktop.

So far, the work that needs to be done on the developer's web page has ended, so you can safely turn off this slow-to-die American page! And we get three files at this time:
1. certsigningrequest: Root certificate file, this file is already used when generating the certificate and can be deleted.
2. CER: Certificate file, which is used below.
3. Mobileprovision: Configuration file, which will be used below.

The following article describes how to install and use certificates and configuration files.

About iOS Developer Account function Summary-Real machine debugging (a)

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.