iPhone iOS push notifications apns on production not sending

后端 未结 4 1484
梦谈多话
梦谈多话 2020-12-31 10:28

I\'ve been working on this for a while now. I know there\'s a ton of articles out there, and have learned a lot about it all.

I have created my development and produ

4条回答
  •  隐瞒了意图╮
    2020-12-31 10:52

    So after hours and hours of headaches, I ended up rebuilding the SSL .pem file and it worked!!

    Here's what I did:

    • wiped clean my distribution certificate and created a new one
    • associated all provisioning profiles to new certificate
    • loaded up new provisioning profiles in xCode
    • rebuilt my SSL handshake .pem file following instructions on Raywenderlich's awesome tutorials

    These are the same instructions I had originally followed for development and production, but maybe/apparently messed something up. Then I tested on my ad-hoc version and it worked!!!

    Also, its worth noting that when using the wrong .pem key, I was not receiving any error feedback from APNS. I use the simplepush.php file found in the link above as a base to send the PN.

提交回复
热议问题