【问题标题】:What does firebase expect to find in my osx keychain?firebase 期望在我的 osx 钥匙串中找到什么?
【发布时间】: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 期望与钥匙串有什么互动?

【问题讨论】:

    标签: ios firebase keychain


    【解决方案1】:

    我也在github问题上问过这个问题:

    https://github.com/firebase/firebase-ios-sdk/issues/2438#issuecomment-489239459

    回复是:

    这只是显示您没有旧钥匙串的信息日志。

    就我而言,我最终发现了另一个不太详细的错误,这是问题的根源。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-06
      相关资源
      最近更新 更多