Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Declaration of 'FIRStorageHandle' must be imported from module 'FirebaseStorage.FIRStorageTypedefs' before it is required

Tags:

ios

flutter

Modules Issue (Xcode): Declaration of 'FIRStorageHandle' must be imported from module 'FirebaseStorage.FIRStorageTypedefs' before it is required

/Users/builder/programs/flutter_3_0_5/.pub-cache/hosted/pub.dartlang.org/firebase_storage-8.1.3/ios/Classes/FLTFirebaseStoragePlugin.m:410:14

I am trying to build flutter ios build using codemagic but it throws error. Please anyone help me.

like image 969
osama Avatar asked Oct 19 '25 10:10

osama


1 Answers

For me this started when upgrading XCode. I made sure Firebase extensions were all using same SDK (9.5.0) and ran this from the root of the project:

flutter clean && flutter pub get && flutter pub upgrade && cd ios/ && pod install --repo-update

Took some time, but now everything is fresh and working again 🎉

like image 158
Rogier Avatar answered Oct 21 '25 00:10

Rogier



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!