我今天升级了 Firebase,现在我遇到了一个非常不寻常的问题
Use of unresolved identifier FirebaseApp.
我已按照 firebase 提供的文档完成所有操作 here 。我在我的项目中插入了 GoogleService-Info.plist
,我安装的 pod 如下所示:
pod 'Firebase/Core
pod 'Firebase/Database
pod 'Firebase/Messaging
我正在使用 XCode 7.3.1,我的部署目标是 9.0
非常感谢您提供的任何见解!谢谢!
最佳答案
我遇到了同样的问题。他们已将其重命名为 FIRApp。
改用FIRApp.configure()
关于swift - 升级后的 Firebase - 在 FirebaseApp.configure() 上出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44649194/