I'm trying to integrate Admob into my app, and the code is good, but there is a problem when I try to run the app in the simulator.
I'm using the new MacBook Air M1, BigSur, Xcode 12.2.
I get the following errors:
in /Users/octomac/Documents/CryptoCalc/Pods/GoogleAppMeasurement/Frameworks/GoogleAppMeasurement.framework/GoogleAppMeasurement(APMEExperiment_3e0573efa7b433360f767304cef16d18.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/octomac/Documents/CryptoCalc/Pods/GoogleAppMeasurement/Frameworks/GoogleAppMeasurement.framework/GoogleAppMeasurement' for architecture arm64
Also:
warning: [CP] Unable to find matching .xcframework slice in '/Users/octomac/Documents/CryptoCalc/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.xcframework GoogleMobileAds framework ios-armv7_arm64 ios-i386_x86_64-simulator' for the current build architectures (arm64).
I've looked through Google to no avail.