FirebaseAnalytics.framework/FirebaseAnalytics' for architecture arm64
I fixed the issue by running xcode12 under Rosetta (Apple M1).
Open Finder -> Application -> locate Xcode -> right click -> get info -> check open using rosetta.
then reopen xcode.