When upgrading the SDK version of AdMob to 6.12.x,
Follow the official documentation (https://developers.google.com/mobile-ads-sdk/docs/#ios),
Add the following framework:
StorekitAudiotoolboxMessageuisystemconfigurationCoregraphicsAdsupport
after add-OBJC to other Linker Flags in the app target build settings.
Compile, the following link error will still appear.
Undefinedsymbols forArchitecture ARMv7: "_objc_class_$_ekevent",referenced from:OBJC-class-ref inchlibgoogleadmobads.a(Gadopener.o) "_objc_class_$_ekeventeditviewcontroller",referenced from:OBJC-class-ref inchlibgoogleadmobads.a(Gadopener.o)LD:symbol(s) notfound forArchitecture Armv7clang:Error:linker command failed with ExitCode1 ( Use -v to see invocation)
here's how to fix it:add eventkit.framework and eventkitui.framework to the project.
To Add a method: Click Project Properties at the top of file browsing . Open the General tab, Locate the Link framework and Libraries under the label . using the displayed + button to add the above two frames.
Admob (6.12.x) symbol undefined error resolution (IOS)