Configure and package the IOS certificate
One: Apply for a bundleIDdeveloper.apple.com/account
- 1
- 2
- 3
- 4
2: generate CertificateSigningRequest, to generate a certificate
- 1
- 2
- 3 to generate a CertificateSigningRequest, save local, set aside
Three: Generate certificates (generate development certificates and release certificates respectively)
- 1
- 2
- 3
- 4
- 5
Four: Add devices
- 1
- 2 The Udid can be generated at www.pgyer.com/tools/udid
- 3
Five: Generate files (generate three files respectively)
- 1
- 2 Select and generate
-
3
-
4
-
5
-
6
6. Double-click the five generated files respectively (cer, then MobileProvion)
- 1
7. Export all installed certificates as P12 certificates (set passwords for others to use)
-
1
-
2
-
If you need to use pem for some push, run the following command after entering the P12 file directory:
openssl pkcs12 -in CertificateName.p12 -out CertificateName.pem -nodes
To view the validity period of the certificate:
openssl x509 -in xxx.pem -noout -dates
Check whether the certificate is valid:
Development: openssl s_client – connect gateway.sandbox.push.apple.com: 2195 – cert XXX. Pem – key XXX. Pem
Production: openssl s_client – connect gateway.push.apple.com: 2195 – cert XXX. Pem – key XXX. Pem
8: packaging
- 1 to appstoreconnect.apple.com/ create APP
-
2
-
3 open Xcode
- 4
- 5
- 6
- 7
- 8
- 9
- 10
*11 You can view the uploaded version in the build version
Reference: www.jianshu.com/p/6320f6f17…