【问题标题】:Firebase analytics disk write failuresFirebase 分析磁盘写入失败
【发布时间】:2016-06-24 01:58:01
【问题描述】:

在 iOS 上使用 Firebase SDK,并使用 Apple TestFlight 进行一些实时测试。一些用户报告了一些奇怪的行为,所以我开始查看他们的日志,发现 Firebase 发生了一些奇怪的事情。以下是日志中的一些 sn-ps:

kernel[0] : Sandbox: (455) deny(1) file-write-create /private/var/containers/Bundle/Application/FIREBASE_UNIQUE_INSTALL

<Notice>: <FIRAnalytics/INFO> Firebase Analytics v.3200000 started
<Notice>: <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (google link removed)
 <Notice>: <FIRAnalytics/INFO> Successfully created Firebase Analtics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist

<Notice>: Sandbox: Studio(455) deny(1) file-write-create /private/var/containers/Bundle/Application/FIREBASE_UNIQUE_INSTALL

在用户身份发生变化并且回调进来后不久,我记录了它。

 <Notice>:    <FIRUser: 0x13e06b110>

然后是更多的 firebase 日志记录。

 <Notice>: <FIRAnalytics/INFO> Firebase Analytics enabled

我需要用于某些服务器身份验证的身份验证令牌,因此完成处理程序进入并记录它。

 <Warning>: [STConfiguration] firebase auth token: <hidden token>

在那之后,我开始下载一些存储文件,那里有更多奇怪的地方,我收到很多 ssl 握手错误(ATS 处理正确,很难调试这些错误的来源)。

 <Warning>: CFNetwork SSLHandshake failed (-9806)

然后是另一个 Firebase 怪事。

 <Notice>: Sandbox: <appname hidden>(455) deny(1) file-write-create /private/var/containers/Bundle/Application/FIREBASE_LAST_TIMESTAMP

这样持续了一段时间。奇怪的是,一些 Firebase 的东西运行良好,而另一些似乎无缘无故地失败了。 ssl 握手问题似乎指向连接到未连接到互联网的无线网络的设备,但我不确定。

【问题讨论】:

    标签: ios firebase firebase-analytics


    【解决方案1】:

    这应该在最新的 Firebase Analytics 版本中得到修复。

    【讨论】:

    • 我刚刚下载了最新版本 3.11.1,但在 iOS 上出现此错误
    • 你是说这个吗? :沙盒:
    【解决方案2】:

    可能与已知错误有关。

    最后一行 &lt;Notice&gt;: Sandbox: myappname(2327) deny(1) file-write-create /private/var/mobile/Containers/Bundle/Application/FIREBASE_LAST_TIMESTAMP 是一个已知的错误,我们正在解决它。

    请看:https://github.com/firebase/quickstart-ios/issues/34#issuecomment-230823806

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-10-20
      • 2013-01-02
      • 2011-10-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多