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.
Update pods from Terminal:
pod update
That should resolve your problem.
ps. backup your app before update
Move into iOS directory (in your flutter project) and update pod
cd ios
pod update
cd..
flutter clean
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With