I was working an app on flutter and got error when I tried to build my app on xcode. I got error like this :
Here's the most error I get
Use of undeclared identifier 'FIRAnalytics'
And here is the technology I used :
I don't know what should I do with this error, this is my first time using firebase on flutter and there is no problem when I build for android.
Can someone tell me what I need to do to solve this?



I stumbled in the same issue and, in my case, it was related to the Min Dart SDK version I was using. Please check yours and be sure that all the firebase libraries you are using match the Dart SDK version you have installed.
environment.sdkcheck SDK contraints (mine were>=2.14.0 <3.0.0)dart pub depsThese are my firebase dependencies in
pubspec.yaml:The
firebase_coredependency needs to stay fixed to avoid getting the latest (that was the one that cause the issue with Analytics, in my case)