Re-create the provisioning profile certificate after the iOS development environment has been replaced

Source: Internet
Author: User
Tags key string

A new MacBook, and toss again provisioning Profile certificate, Apple's certificate complex lock, each production is quite troublesome, and the provisioning profile certificate is tied to the device, so the replacement of the development environment after the need for re-production.

Provisioning Profile Certificate This thing is very apple characteristic of a thing, commonly called the PP certificate, the certificate will be AppID, developer certificate and device binding together.

Delete the original provisioning profile:

If the original provisioning profile certificate is useful in other devices, this step can be ignored.

Can not not spit groove Xcode difficult to use, a variety of common functions hidden deep, almost let me go to the directory manually deleted.

1, click Xcode;

2, choose menu Preferences;

3, click the Accounts tab;

4, Apple IDs Select Account, click View Details;

OK, delete the original provisioning profile certificate.

Create a new Provisioning Profile certificate:

The original developer certificate is also expiring, I directly revoke the original developer certificate, so start with the developer certificate.

1, Developer certificate production: Login to the developer center, find the Certificate configuration section, select Certificates, click the plus sign in the upper right corner:

Publishing certificates and developer certificates requires two operations, created separately, developer certificates for real-machine debugging, and publishing certificates for submission to AppStore.

Next, you will be prompted to create a CSR file, which is the certificate signing request file.

This step requires the creation of a local CSR file, using the Keychain Assistant software on your computer, for reference:

e-mail to write their own mailbox, the common name is best to specify the device name and release/development certificate.

The CSR file is made as often as possible for each certificate, separating common names, because the common name is the name of the key in the certificate.

The CSR file will be submitted to the developer center after it is saved.

Once submitted, a CER certificate is generated and is valid for one year.

Click Download, double-click Install.

In the key string software can be viewed, where the name of the private key is the CSR request file in the common name (remind you to name the way, if not agree to delete it again).

2, Provisioning profile Certificate production: To this step certificate has not yet complete, want to submit AppStore also need PP certificate.

Click Provisioning Profiles, and then click the plus sign in the upper right corner.

The process also needs to be done two times, respectively, to create a PP certificate for development and a published PP certificate.

The next selection will automatically detect matches to your AppID, and you can select the wildcard format in the drop-down.

Note: Wildcard format of the certificate does not push, passcard and other services applications, carefully selected.

Continue, here is a difference, because the PP certificate developer certificate needs real machine debugging, so we need to bind the real machine, here because I added some devices, so here can be directly selected to add, if not, you need to copy the Udid of the real machine here to add, in the release of the PP file, There is no such a step.

Then is the name of the input a PP certificate, and then generate, download and save, double-click to add to Xcode, so in the real machine debugging or publishing, you can have a different PP certificate and its corresponding.

In the project settings of Xcode, Provisioning profile can select the certificate you just made.

OK, certificate production complete!

Record, for the better of myself!

Re-create the provisioning profile certificate after the iOS development environment has been replaced

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.