with Xcode 8 no valid 'aps-environment' entitlement string found

后端 未结 2 1313
天命终不由人
天命终不由人 2021-02-19 19:34

I installed Xcode 8. Since then I am getting

application:didFailToRegisterForRemoteNotificationsWithError:, Thread [{number = 1, name = main}] error [Er

相关标签:
2条回答
  • 2021-02-19 20:18

    Please enable the push notification toggle , make it ON, in the capabilities section (Next to project section)

    0 讨论(0)
  • 2021-02-19 20:29

    One more thing... Check that you enable Push notifications for PROPER configuration. I've wasted around an hour trying to figure out what's going on with pushes on DEBUG with permanent NO APS entitlement. But pushes was enabled ONLY in RELEASE.

    0 讨论(0)
提交回复
热议问题