xcode 从 Swift 4 中的后台线程调用并运行 Firebase 4 的 UI API
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44747945/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
UI API called from background thread in Swift 4 and running Firebase 4
提问by joshLor
These are the errors that are currently present in my project after I downloaded the beta version of Xcode 9.
这些是我下载了Xcode 9的 beta 版本后我的项目中当前存在的错误。
This directly connects to this post.In which similar problem is solved. I had this problem as well originally and fixed it by following the accepted solution. However, that did not fix these other error messages that I am getting.
这直接连接到这篇文章。其中解决了类似的问题。我最初也遇到了这个问题,并按照公认的解决方案进行了修复。但是,这并没有解决我收到的这些其他错误消息。
What is causing these? Are they a problem? How can I prevent them?
是什么导致这些?他们有问题吗?我怎样才能防止它们?
采纳答案by Paulo Mattos
From your stack trace, it looks like bothcalls are Firebase related. As such, try upgrading to the latest Firebase version 4.x to see if those go away.
从您的堆栈跟踪来看,这两个调用似乎都与 Firebase 相关。因此,请尝试升级到最新的 Firebase 版本 4.x,看看它们是否会消失。
Please see this questionif you may need some help when doing so.
如果您在这样做时可能需要一些帮助,请参阅此问题。
Update. Actually, it looks like this is a known issuein Firebase v4 iOS SDK :-(