FirebaseCore Lexical or preprocessor issue

Viewed 2725

So I am having an issue in compiling my project with firebase. This issue started the minuted I updated all my firebase pods. Ever since I updated the pods I have been getting this error

Lexical or preprocessor issue

and then when I go to what the error is it says this

'GoogleUtilities/GULAppEnvironmentUtil.h' file not found

Has anyone faced this problem or have any idea how to fix it?

I have tried uninstalling and installing, I have tried changing the scheme and rebuilding, I have tried cleaning and building and nothing has worked.

I have included a picture of what I can see in Xcode.

enter image description here

Here is what my podfile looks like

enter image description here

2 Answers

Change the Podfile from pod 'Google/SignIn' to pod 'GoogleSignIn'.

source: issue 2100.

After reading many solutions, what worked for me was doing a pod update:

cd platforms/ios; pod update; cd ../..

That brought all the versions into line. Occams razor, I guess.

Related