在iOS上使用Firebase,并在一些使用苹果TestFlight的实时测试中拥有一个应用程序。一些用户报告了一些奇怪的行为,所以我开始查看他们的日志,发现Firebase发生了一些奇怪的事情。下面是日志中的一些片段:
内核:沙箱:(455)拒绝(1)文件写入创建/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>然后是更多的火柴记录。
<Notice>: <FIRAnalytics/INFO> Firebase Analytics enabled我需要用于某些服务器身份验证的auth令牌,因此完成处理程序将进入并记录它。
<Warning>: [STConfiguration] firebase auth token: <hidden token>在那之后,我开始下载一些存储文件,在更奇怪的地方,我得到了很多ssl握手错误(ATS被正确地处理,很难调试这些文件是从哪里来的)。
<Warning>: CFNetwork SSLHandshake failed (-9806)然后是另一个火基怪。
<Notice>: Sandbox: <appname hidden>(455) deny(1) file-write-create /private/var/containers/Bundle/Application/FIREBASE_LAST_TIMESTAMP像这样持续了一段时间。奇怪的是,一些火基的东西工作得很好,其他的似乎没有明显的原因而令人费解。ssl握手问题似乎是指设备连接到没有连接到internet的无线网络,但我不确定。
发布于 2016-09-29 15:28:14
这应该在最新的版本中修复。
发布于 2016-07-18 12:37:34
可能与已知的臭虫有关。
最后一行
<Notice>: Sandbox: myappname(2327) deny(1) file-write-create /private/var/mobile/Containers/Bundle/Application/FIREBASE_LAST_TIMESTAMP是已知的bug,我们就在它上面。
请参阅:https://github.com/firebase/quickstart-ios/issues/34#issuecomment-230823806
https://stackoverflow.com/questions/38004539
复制相似问题