【发布时间】:2019-05-10 23:23:51
【问题描述】:
我目前在 firebase 初始化时遇到错误。
2019-05-03 15:55:24.945218-0500 ChooseHealthApp[5538:1534233] 5.20.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
acct = "com.myAppName.foo";
class = genp;
gena = "com.google.iid";
"m_Limit" = "m_LimitAll";
"r_Attributes" = 1;
"r_Data" = 1;
svce = "com.google.iid.checkin";
}
2019-05-03 15:55:24.945697-0500 ChooseHealthApp[5538:1534233] 5.20.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
atag = <636f6d2e 676f6f67 6c652e69 69642d7c 4b7c>;
class = keys;
"r_Ref" = 1;
type = 42;
}
2019-05-03 15:55:24.945894-0500 ChooseHealthApp[5538:1534233] 5.20.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
atag = <636f6d2e 676f6f67 6c652e69 69642d7c 507c>;
class = keys;
"r_Ref" = 1;
type = 42;
}
2019-05-03 15:55:24.945984-0500 ChooseHealthApp[5538:1534233] 5.20.0 - [Firebase/InstanceID][I-IID009000] No keypair info is found with tag com.google.iid-|K|
我正在使用nativescript-plugin-firebase,它(几乎可以肯定)使用firebase-ios-sdk。
我对上述错误的理解是 firebase 所期望的。在我读过的任何文档中,我都没有看到提到将项目添加到钥匙串中。我发现的最接近的是这个 (https://firebase.google.com/docs/cloud-messaging/ios/certs#create_the_authentication_key),它没有提到钥匙串或 com.google.iid。
我搜索了 firebase 和 keychain 之间的任何链接,但一无所获。
这里发生了什么? Firebase 期望与钥匙串有什么互动?
【问题讨论】: