didFailToRegisterForRemoteNotificationWithError occuring in iphone app
I installed app on device on vmwar开发者_如何学Goe-mac. The program runs successfully.
When I installed app on real Mac Machine, didFailToRegisterForRemoteNotificationWithError occurs.
What's the problem?
I used right provisioning profile and keychain.
Thanks in advance.
It may be because of various reason (Error code - 404,500 etc) , can you put some log in that function
NSLog(@"error description %@",[error description]);
It will give you exact error which you can google , or let me know if you need any further help on this.
精彩评论