0

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?

iDecode
  • 22,623
  • 19
  • 99
  • 186

1 Answers1

0

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

Dipak Ramoliya
  • 547
  • 11
  • 32