问题
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:
- Ensure the Bundle Identifier matches the one in your project's plist.
- Create a new App ID, and configure it for production/development push before creating a new provisioning profile.
- 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