When we use more than three Mac devices to develop the application, want to apply for a new certificate, if in our certificate, contains 3 release certificates, 2 development certificates, you can find no further application of the development certificate and publishing certificate (generally in our certificate interface should have only one development certificate, a publishing certificate, There is no need to generate so many certificates that the certificates will not be added again until they expire. )
There are two ways to resolve a certificate that cannot be added. The first method-"revoke" (not recommended):
"Revoke" the previous certificate,
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.
The second Method-". P12" (recommended):
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, 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), after the addition can be used.
How many times an Apple certificate is used