I am trying to build my iOS/iPadOS project on my mac using the new Mac Catalyst. When I build it on the simulator for iPhone everything is fine but when I build it on my Mac, I get this error
ld: in /Users/Desktop/[PROJECT NAME]/Pods/GoogleAnalytics/Libraries/libGoogleAnalytics.a(GAITrackerImpl.o), building for Mac Catalyst, but linking in object file built for iOS Simulator, file '/Users/Desktop/[PROJECT NAME]/Pods/GoogleAnalytics/Libraries/libGoogleAnalytics.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)