swift - FirebaseCore 词法或预处理器问题

标签 swift firebase firebase-realtime-database

所以我在用 firebase 编译我的项目时遇到了问题。这个问题开始于我更新了我所有的 firebase pods。自从我更新 pod 以来,我一直收到此错误

Lexical or preprocessor issue and then when I go to what the error is it says this 'GoogleUtilities/GULAppEnvironmentUtil.h' file not found



有没有人遇到过这个问题或知道如何解决它?

我试过卸载和安装,我试过改变方案和重建,我试过清理和构建,但没有任何效果。

我已经包含了一张我可以在 Xcode 中看到的图片。

enter image description here

这是我的 podfile 的样子

enter image description here

最佳答案

pod 'Google/SignIn' 更改 Podfile至 pod 'GoogleSignIn' .

来源:issue 2100 .

关于swift - FirebaseCore 词法或预处理器问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54246350/

相关文章:

swift - 二元运算符 '*' 不能应用于类型 'CGRect' 和 'CGFloat' 的操作数

ios - 如何从该 segue 或目标 View Controller 访问执行 segue 的源 View ?

javascript - Firebase 身份验证 (javascript) : 'TypeError: user.delete is not a function' when linking accounts

javascript - Firebase 函数算法 onWrite

ios - Firebase + Geofire 基于属性的复杂查询

ios - 火力地堡 5 : Ambiguous use of 'observeSingleEvent'

swift - 从 Swift 向 Vapor 3 发送日期

xcode - 检测蓝牙耳机是否连接到 Apple Watch

c# - 通过 DocumentReference 监听 firestore 时将打开多少套接字

javascript - 如何执行包含空字符串作为结果一部分的 firebase 查询?