'Build fails on adding pod 'Firebase/AppCheck' to the Podfile
I'm using firebase_app_check package. All good. The following command works as expected.
flutter build ios
But as soon as I add the following in the Podfile(ios)
pod 'Firebase/AppCheck'
iOS build fails with this error:
Definition of 'GULAppEnvironmentUtil' must be imported from module 'GoogleUtilities.GULAppEnvironmentUtil' before it is required
What am I missing?
Solution 1:[1]
Try to run following command it may help you
run flutter clean
run flutter pub get
go to your project iOS directory and run pod install then run pod update
if this issue is because of outdated pod files
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dipak Ramoliya |
