Report error in Step:Add the Push Notifications feature to your App ID

做~自己de王妃 提交于 2019-12-10 18:09:47

问题


In developer website , I make my app ID's Push Notifications enable.

But in my project,TARGETS -> Capabilities -> Push Notifications -> I want to open it, but after sometime, there report error in

Step:Add the Push Notifications feature to your App ID

The picture I token:

Additional info is: I use Xcode 8, iOS 10


Edit -1

In my Signing, there is error:


Attempt - 1

I have restart my Xcode 8 , and it does not work for me.


回答1:


This problem occurred to me when moving from XCode 7 to XCode 8. To resolve this, I had to disable Push Notifications and re-enable them. Then I had to make sure that in Build Settings the Code Signing Identity and the Provisioning Profile were configured correctly with the account and provisioning profile associted to the AppID that have de Push Notifications enabled.




回答2:


I think you enabled push notification in app ID but you didn't create provisioning profile for this app ID so Xcode select provisioning profile automatically and that provisioning file not support push notification capability , so try to create provisioning profile for this app ID and download it then double click on it to listen in Xcode try to restart Xcode , hope this help you .



来源:https://stackoverflow.com/questions/41220355/report-error-in-stepadd-the-push-notifications-feature-to-your-app-id

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!