I 开发者_Go百科want to see how APNs should set up, I have made an App ID and server certificate. My App registers with my Provider (EasyAPNs), but when I try to send a pushmessage, Apple responds that my token cannot receive the message, I keep getting the Unregistering Device Token
message.
Your device is not registered to Apple. You should add some code in the appdelegate to allow to receive notifications
Apple Documentation Registrer notifications
I do not know if it is the official way, but I solved it by making an 'official' ad hoc distribution and using a specific distribution provisioning file.
精彩评论