When trying to install firebase pod and you try to build that project in Xcode you might end up with this error.
FIRAnalyticsConnector’ for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
To get around this. Delete the xcworkspace, update your Podfile. On your Podfile you need to specify the version and append with -M1 as such.
When you run “pod install“, if you get this error
[!] CocoaPods could not find compatible versions for pod “Firebase/Analytics”:
Firebase/Analytics (= 7.2-M1)
None of your spec sources contain a spec satisfying the dependency: `Firebase/Analytics (= 7.2-M1)`.
run “pod repo update” and run “pod install” again.
Open the xcworkspace and then the build should start working.