The function module of iOS development--the solution of push pit problem

Source: Internet
Author: User

Apple Development Certificate, there is a root certificate, the root certificate can be bound to the relevant developer device cooperation to develop an app project, if it is a multi-person team general Root certificate is the boss to fix and unified management of our equipment, this time boss he will use his computer keychain to generate P12 files, Then we'll use the root certificate together.

However, the development of Apple push function is not necessarily the boss, such as the eldest brother to me to get this push certificate and add push function to the app, and the generation of Apple's push CER suffix certificate, of course, in my computer generated, of course, must be used by the boss of the developer account login to the Apple official website, And to download a push certificate that matches the same bundle ID as the app:

After downloading, be sure to double-click, let it appear in My Computer keychain,

Then the reader you can according to this: http://blog.csdn.net/showhilllee/article/details/8631734 in the Five points mentioned: five from the keychain access to export the secret key To get push-P12 files and Pem files needed in the background.

Note that this P12 file must be pushed to the certificate generated, not the root certificate generated by the P12 file, do not be mistaken.

Again, because the creation of a push certificate for an app can be different from the one created by the root certificate, that is, the certsigningrequest is not the same as the keychain, so the private key is not the same, when the PEM is generated, be careful to use the private key of the push certificate!

If it is not the P12 file generated by the push certificate, I will test it out by myself. The result of the failure:

The function module of iOS development--the solution of push pit problem

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.