所以我在用 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 中看到的图片。
这是我的 podfile 的样子
最佳答案
从 pod 'Google/SignIn'
更改 Podfile至 pod 'GoogleSignIn'
.
来源:issue 2100 .
关于swift - FirebaseCore 词法或预处理器问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54246350/