I'm not very experienced in the IOS development. This is my first try to implement Google AdMob to my application, and I get this error when I try to run the simulator: Terminating app due to uncaught exception 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without AppMeasurement. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-update-plist to include the AppMeasurement framework and set the -ObjC linker flag.
I'm using Xcode 12 beta on macOS Big Sur. I tried to reinstall Google pod a couple of times, but still get the same error. Please help
Manually add the -ObjC
linker flag to Other Linker Flags in your target's build settings even if you're using CocoaPods.
Try to add this property in your Info.plist file
It works for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With