iOS development-How to use an Apple certificate multiple times

Source: Internet
Author: User

Apple's developer account limit developer certificate can only have 5, we develop the process encountered more than 5 people need to debug the real machine situation, how to solve this problem?

There are two ways to solve the problem:

1. Revoke the original certificate----not recommended

"Revoke" the previous certificate, and then regenerate a new certificate.

This method is possible, but will cause the corresponding provisioning profiles failure, which is a small problem. But it is a waste of time to re-apply for a certificate or even describe a document, so it is not advocated.

2. P12----Recommendations

Each of our certificates can generate a. p12 file, which is an encrypted file that, as long as it knows its password, can be used by all MAC devices so that the device does not need to be re-applied to the Apple Developer website for development and release of the certificate.

Note: The general. p12 file is for use by someone else, the machine must already have a certificate with a secret key to generate the. p12 file,

Open the keychain, select the certificate we need, right click, select "Export" IPhone distribition: "" ":

Fill in a name for the. p12 file and click Save:

Fill in a "password", "verify" and the same password:

Click OK, a. p12 file is formed on the desktop:

To install successfully on someone else's computer, you must have two files:
    • The certificate exports the ". P12" file.

    • The "description" in the Apple developer that corresponds to "certificate"

If you need to use it for development, these two files are required:

The. p12 file itself is an encrypted certificate, so you can use these two files to make other Mac devices available:

After you get these two files, double-click the "Certificates", ". P12" file (you need to enter the password, the password is the password that was generated when the. P12,), the role is to join the keychain, so that our computer has the proof of development, "profile" (role is placed in Xcode, Let Xcode know the legality of our development), we can use it after we add it.

Ref

Http://www.cnblogs.com/yipu/p/3617851.html

Http://www.cocoachina.com/ios/20150521/11889.html

iOS development-How to use an Apple certificate multiple times

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.