ios - Xcode push notification certificate -


i have update provision profile (added new users). generated new provision , set xcode. don't receive push notification , error code 8, meaning wrong certificates.

do need update push certificates?

upd: use production environment. wondering need update push notification certificate when update provision profile or independent.

per apple documentation, error code 8 means invalid device token.

it happens commonly when use test device token against apple apns production server or vice-versa. when build ios app have development , production profiles, device token different based on profile chose!

edit : post op update - provisioning profile & push notification related things. push notification, open provisioning portal , go app ids section. find app , there 2 options configuring push notification, 1 development , production. if app under testing , development, use development , configure , in return certificate. placed on server send push notifications.

then, regenerate provisioning profiles, go provisioning profiles modify them , re-download. push notification enabled provisioning profiles.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -