问题描述
更新到XCode 8 GM(Swift 3)
Firebase 开始在控制台中记录这些错误:-
Firebase started logging these error's in the Console:-
FIRInstanceID/警告停止!!将从内存中重置 deviceID.
FIRInstanceID/WARNING 无法获取默认令牌 Error Domain=com.firebase.iid Code=6 (null)"
FIRInstanceID/WARNING Failed to fetch default token Error Domain=com.firebase.iid Code=6 "(null)"
FIRInstanceID/WARNING 5 次重试后无法检索默认 GCM 令牌
FIRInstanceID/WARNING Failed to retrieve the default GCM token after 5 retries
推荐答案
显然启用您的应用在功能中的KeyChain共享 成功了!
Apparently Enabling your app's KeyChain Sharing in Capabilities does the trick!
启用您的功能后,app.entitlements 应如下所示:-
After enabling your capabilities , app.entitlements should look something like this:-
另见:- Firebase Group Talk
这篇关于FIRInstanceID/警告停止!!将从内存中重置 deviceID [Xcode : Console Log]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!