问题
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