APNS Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000

无人久伴 提交于 2019-12-11 04:52:54

问题


Hello everyone i have beenn working in several projects and all push notification were working either on developemnt or prodcution. However i am not getting this error : "Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000" since yesterday. I have tried to create a new provisioning but its shut down for maintenance. Is it due to this?

Thanks in advance.


回答1:


  1. Ensure the Bundle Identifier matches the one in your project's plist.
  2. Create a new App ID, and configure it for production/development push before creating a new provisioning profile.
  3. Make sure you're build and archiving on the right target, with the right configuration. You might need to go back to project settings and double check with the correct configuration selected (I use release for this).


来源:https://stackoverflow.com/questions/14894921/apns-error-in-registration-error-error-domain-nscocoaerrordomain-code-3000

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