After adding firebase dependency on iOS, when I want to run then I get this error
Xcode's output:
↳
../ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module
'firebase_analytics' not found
@import firebase_analytics;
~~~~~~~^~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the precompiled application for the device.
Error launching application on Abir's iPhone.
I already tried many way. like delete pod file, pod update, pod install etc.
I had this same error and here is how to solve it.