Push Notification Certificates let you send notifications to users of your app. They must be created before a Provisioning Profile since they are embedded within the Provisioning Profile.
Note: While Push Notification Certificates are optional for regular iOS apps, they are required for Newsstand apps.
If you are unsure if your Provisioning Profile has Push Notifications enabled, read the article "iOS - Check if your Provisioning Profiles Accept Push Notifications."
Before You Begin
- Be sure to sign-up for an iOS Developer Account
- Make sure you have created an App ID in iTunes Connect (for more information, read the article "iOS - Creating an App ID.")
- Make sure you have created and installed a Distribution Certificate (for more information, read the article "iOS - Creating a Distribution Certificate.")
How to Create a Push Notification Certificate
3. Click on the App ID you created previously for your app.
How to Export a Push Notification Certificate as a .p12 File
1. In Keychain Access, select the certificate entry and right-click on it to select "Export."
Note: All certificates you have installed will be in the "login" keychain (Label 1) under the category "My Certificates" (Label 2).
2. In the window that appears, add "Push-" to the file name, make sure the File Format is set to "Personal Information Exchange (.p12)" and click on "Save" to save it to your machine.
3. When asked for a password, leave it blank and click on "Ok."
Note: You MUST NOT enter a password in this step, otherwise the mag+ Publish portal will be unable to build your app.
4. When asked for the computer password, enter it and click on "Allow."
5. Your .p12 file will be saved in the location you specified.
Note: You can now upload your .p12 file to the mag+ Publish portal and use it to create a Provisioning Profile.
6. Login to the mag+ Publish portal and go to Apps > iOS > Apple Push Notifications.
App Creation: Next Steps
Creating push notification certificates are only one step in creating an iOS app for distribution. Please refer to the additional articles in this section for information on setting up provisioning profiles and configuring in-app purchases. These items correspond to settings in the mag+ Publish portal. The portal will actually build your customized iOS app. You will then upload this app to the Apple App Store or to your own internal distribution servers (for enterprise customers only).