'GoogleUtilities/GULAppEnvironmentUtil.h' file not found
Running pod update
fixed this for me
Try This:
- Delete the pod files related to Google and Firebase
- Install pods via "
pod install
" command
If pod file contains below pods, update those pods
Google/Analytics to GoogleAnalytics
Google/SignIn to GoogleSignIn
Google/Analytics
and Google/SignIn
are deprecated.
Problem fixed for me by following steps:
- Clean the project
- Close the Xcode
- Delete derived data
- If you have already installed the POD, kindly delete the “.xcworkspace” & “Podfile.lock” files
- Install pod again
- Open “.xcworkspace” and Run
In the Podfile, change Google/Analytics
to GoogleAnalytics
. The Google pod is deprecated and not compatible with recent Firebase versions.
An alternative, but not recommended workaround, could be to lock the Firebase version to something less than 5.5.
UPDATE: June 2021: There is a Crashlytics podspec bug that can also cause this issue. The workaround is to explicitly add GoogleUtilities/Environment
to the Podfile or move use_frameworks!
to the top of the Podfile. Details in https://github.com/firebase/firebase-ios-sdk/issues/8137. The issue will be fixed in the upcoming Firebase 8.3.0 release.