After upgrading to XCode 12, my project doesn\'t build for the simulator anymore.
The error I get is:
ld: in ... /Pods/FirebaseAnalytics/Frameworks/FIRAnal
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.