ljustin
ljustin

Reputation: 357

Provisioning profile and push notification certificate

I've been given a task to (re?)enable push notification for the company iOS app and don't know where to begin.

I learned that provisioning profile contains information on which app services are enabled, so I logged into the apple developer center and got to the Certificates,Identifiers & Profiles page, but saw that Development iOS Provisioning Profile was already enabled with Push Notification.

However in the App IDs section, it shows Push Notification as configurable with a yellow dot.

Does this mean that the push notification is no longer working?

If that is the case, would regenerating the push notification certificate fix it? or would I have to create a new provisioning profile as well?

Thanks!

Upvotes: 2

Views: 8858

Answers (3)

Geet
Geet

Reputation: 2437

If in the App iD of your App its says Configurable then you better start by creating a new certificate, if not then try to get the exact private key of your CSR, your certificate and your pem file which you might have used earlier. It would do well to re-configure the entire thing actually, a mismatch between the private key would never allow you to receive the notifications

Upvotes: 2

ylgwhyh
ylgwhyh

Reputation: 1598

I meet the same problem. I had it token care of!

You need to add iOS push certificate!

https://developer.apple.com/account/ios/certificate/certificateCreate.action

Apple Push Notification service SSL (Sandbox & Production).

enter image description here

Upvotes: 5

ljustin
ljustin

Reputation: 357

Push certificate had been expired so it required creating a new push certificate. This invalidated provisioning profile with associated app id, so I had to re-generate the provisioning profile as well.

Upvotes: 3

Related Questions