Getting an error from push notification

前端 未结 15 2176
失恋的感觉
失恋的感觉 2020-12-01 02:39

In my app, I need push notifications. I am implementing all the instructions from the push notifications docs. But I got an error from Push Notification:

Fai         


        
15条回答
  •  感动是毒
    2020-12-01 03:30

    That was making me crazy. I cross-checked everything but still was getting the same error. Tried all the other solution given on the web as well. However, this did the trick for me. I create .mobileprovision file before enable APNS. This was the real mistake. Resolution of this problem :

    1. Create App ID
    2. Enable APNS
    3. Then create Provision File

    If you have created provisioning profile earlier and the you have enabled APNS , you should delete provisioning file from everywhere in your system(XCode,keychain,iTuneConnect). And then create provisioning file again.

提交回复
热议问题