thodda
thodda

Reputation: 83

GoogleUtilities/GULSceneDelegateSwizzler.h file not found

Unable to build Flutter app on iOS/Xcode

Pubspec file with used dependencies

Already tried all the pod install/upgrade, flutter clean, pub install etc solutions.

Error message looks like this:

 ios/Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m:32:9: fatal error:
    'GoogleUtilities/GULSceneDelegateSwizzler.h' file not found
    #import <GoogleUtilities/GULSceneDelegateSwizzler.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ios/Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m:32:9: note: did not find header
    'GULSceneDelegateSwizzler.h' in framework 'GoogleUtilities' (loaded from 'build/ios/Debug-iphonesimulator/GoogleUtilities')
    1 error generated.

Would be very grateful for any input on this issue.

Upvotes: 8

Views: 6916

Answers (2)

Mohd Danish Khan
Mohd Danish Khan

Reputation: 1101

Move into iOS directory (in your flutter project) and update pod

cd ios
pod update
cd..
flutter clean

Upvotes: 1

Dejan Malbasic
Dejan Malbasic

Reputation: 378

Update pods from Terminal:

pod update

That should resolve your problem.

ps. backup your app before update

Upvotes: 21

Related Questions