After upgrading to Xcode 12, my project doesn't build for the simulator anymore.
The error I get is:
ld: in ... /Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(
FIRAnalyticsConnector_e321ed8e3db06efc9803f6c008e67a34.o),
building for iOS Simulator, but linking in object file built for iOS, file
'.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector'
for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A workaround is adding arm64
to my project > Build Settings > Excluded Architectures, but then it won't build for my real device.
I already tried cleaning the build folder, updating pod file, restarting etc.
I'm using:
- Firebase/Analytics (6.33.0)
- Xcode 12.0.1 (12A7300)
- CocoaPods: 1.9.3
Any ideas?