Firebase iOS无法获取默认令牌Error Domain = com.firebase.iid Code = 6“(null)”

时间:2016-10-20 20:45:53

标签: ios xcode firebase firebase-cloud-messaging

运行Firebase应用程序时,我一直收到标题中的错误。我相信它阻止我执行数据库查询。例如,登录后FIRAuth.auth()?.currentUsernil

经过研究,我相信我必须在我的项目中添加一个钥匙串。当我打开(xCode - > targets - >功能)中的钥匙串共享时,我在下面的屏幕截图中得到错误。

enter image description here

我是否需要在Keychain Access(应用程序)中添加某种证书?

我没有使用短信功能,所以我认为我不需要添加建议{​​。}}的.p12证书。

我是否需要在Firebase控制台中添加某种钥匙串?

我已经确认我的BundleID是正确的。

我是否需要在此更改内容:

here

我已按照所有设置步骤enter image description here

1 个答案:

答案 0 :(得分:0)

我找到了解决方案https://groups.google.com/forum/#!msg/firebase-talk/xvjyJUMFL1Y/rhsF7EQEBQAJ

我的Firebase版本中存在一个错误 - pod update已解决此问题