You must create and upload a valid Apple Push Notification service (APNs) certificate to send push notifications to your customers.
Click here for more on creating all the required Apple certificates and creating an app build to submit your app to the App Store.
To update an existing APNs certificate (before it expires), revoke the existing certificate before generating a new one.
Which Bundle ID to Use
If you create a new APNs certificate with a Bundle ID that is different than the one you used to submit your app to the Apple App Store, you will NOT be able to upload the new app build on iTunes connect. Make sure to use the Bundle ID associated with your app on iTunes connect. Do not use the Bundle ID which appears in Step 3 of creating an app build for the Apple App Store (since this Bundle ID changes with each new app build).
Generating a new APNs certificate consists of 2 parts:
Part 1: Creating and uploading an APNs certificate.
Part 2: Creating an App Store build using your new certificate.
To renew your app's APNs certificate (PART 1):
- Sign in to your Swiftic account.
- Click Dashboard.
- In the Apple section, click
to update your certificate.
- Go to Step 3.
- Click Download File to download the Push Notification .csr file.
- Go to https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution (log in if necessary).
- To add a new certificate, click + .
- Select Apple Push Notification service SSL (Production).
- Click Continue.
- Select your App ID.
NOTE: If your app was previously submitted to and approved by the Apple App Store, make sure to use the Bundle ID associated with your app on iTunes connect.
- Click Continue.
- Click Continue.
- Click Choose File and select the .csr file that you downloaded in step 6.
- Click Generate.
- Click Download and save the .csr file.
- Click Done.
- Return to the Swiftic console, and click Upload File to upload the .csr file.
- Once the file is uploaded, click Get Started.
To renew your app's APNs certificate (PART 2):
- In Step 4, click the link to your Apple developer account.
- Click on the relevant app and then click Edit.
- Click Generate.
- Click Download to download a new provisioning file.
- Return to the Swiftic console, click Upload File or Upload different file (if you created an app build before) and browse to the .mobileprovision file.
- Click Build.
- Once the build has completed, click the download icon to download the new binary file.
- Re-submit your app's binary file to the Apple App Store, via the Application loader (iTunes Connect). See How Do I Submit My App To ITunes Connect? (Note: Instead of adding a new app to iTunes connect, click on your app from My Apps and make all your desired changes. Most importantly, upload your new app build.).