Create a provisioning file for push notification

I want my application to support Push Notification, and I do it as shown below:

  • Generate CSR File
  • Create an application ID and enable Push Notification.
  • Create an SSL development certificate for the application identifier using the CSR file created in step 1
  • Create Provisioning File

The problem is that in step 4 I can’t select the certificate created in step 3. Is there something wrong with my steps?

Thanks.

+6
source share
4 answers

No, you cannot select push SSL Certificate when creating a provisioning profile. Just select a developer or distribution certificate.

Upload the SSL certificate to the server that provides the push service ... ex: parse, arban airship. Its optional.

+5
source

You cannot choose an SSL certificate just because you do not need to. The provisioning profile is not associated with a push certificate, but with the identifier of the application where you installed the application to use the APN service. The SSL certificate must be uploaded to your server, so when making calls to Apple, it can be defined as your application server . You just need to download it, open it in the key chain, and then, as a rule, export it and upload it to your server.

It's quite simple, just remember to sign the application with the development support profile when you use the development deployment certificate on your server (calls to the apple sandbox server) and the distribution profile when you use the production certificate,

If you are still having problems, check out this guide , this is from quickblox, but the part related to the Apple portal is the same to build the server or service that you use to generate the notification, and this is really well explained.

+3
source

I also followed all the textbooks mentioned above. I had the same problem with "step 4".

I found out that I cannot create a provisioning profile manually (using a certificate). It automatically generates it for me as soon as my Xcode 5 synchronizes with my AppId, which was created by me. Therefore, I would like to suggest that you wait a few minutes after clicking the "Fix Error" button on the "General" tab. (BTW, I'm new to iOS developer.)

0
source

All Articles