PushSharp APNS production: The credentials supplied to the package were not recognized (development works fine though)

前端 未结 6 1470
小鲜肉
小鲜肉 2020-12-03 07:00

My app just got ready for sale on App Store, but none of my production devices (devices that have installed the app from App Store) are getting push notifications. When I tr

6条回答
  •  攒了一身酷
    2020-12-03 07:23

    I figured out the problem. I revoked and regenerated the certificate again, and this time I only exported the private key (without the certificate). In Keychain access, I exported as .p12 and used the new file and it worked. For some reason, PushSharp wasn't play well with .p12 when both certificate and private key are present in the file.

提交回复
热议问题