How to refresh APNS certificates

I feel your pain.
Click on Profiles
Click download
Double click on the mobileprovision to apply it.
Toggle this
  • Make sure you are using the certificate that would match the provisioning profile that is active.
  • Grab a fresh device token and paste it in.
  • Lets get a new certificate:
Click on “Identifiers”
Find your app’s bundle id and then click on its row.
Scroll down to push notifications, click “Edit”
Click on Production SSL Certificate, you can use it for production and development.
Lets request a certificate to upload.
open up keychain access
Click Request a certificate
provide your email, click “saved to disk”, then continue
Rename it to match your project.
upload the signing request and then click “continue”
Click Download
Click Add
Picture from https://www.appcoda.com/push-notification-ios/
Click Export "Apple push services: cor..."
You can rename it to something more relevant. Click Save.
Click Profiles
Click +
Tick App Store
Click Continue
Find the option that contains your bundle id.
Click Continue
tick the circle
Click Continue
Give it a name and then click Generate
Click Download

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store