APNS错误登记。错误:错误域= NSCocoaErrorDomain code = 3000 [英] APNS Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000

查看:313
本文介绍了APNS错误登记。错误:错误域= NSCocoaErrorDomain code = 3000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有beenn在几个项目的工作,所有推送通知进行工作无论是在更新发育或prodcution。但是我没有得到这个错误:错误登记错误:错误域= NSCocoaErrorDomain code = 3000,昨日至今。我试图创建一个新的配置,但其停车检修。是不是因为这个?

先谢谢了。


解决方案

  1. 确保包标识符相匹配的在项目的
    plist中。

  2. 创建一个新的App ID,并将其配置为生产/研发
    推动创建新的配置文件之前。

  3. 确保你在正确的目标建立和归档,与
    正确的配置。您可能需要回去项目设置
    与选择了正确的配置,并仔细检查(我用
    发布此)。

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.
  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).

这篇关于APNS错误登记。错误:错误域= NSCocoaErrorDomain code = 3000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆