I updated Google AdMob SDK to 7.1.0 using Pods.
So in my appDelegate.m, I am trying to add this line
@import GoogleMobileAds;
But I
Here is the solution that worked for me:
Don't Do this
Instead of this drag the GoogleMobileAds.framework to your project and add all the other frameworks mentioned here and while drag and drop check copy items if needed.
The actual issue here is that in the build settings of your app, you are missing the setting:
Framework Search Paths
Either edit your project.pbxproj so that BuildSettings includes something like:
FRAMEWORK_SEARCH_PATHS = "/Users/bram/src/GoogleMobileAdsSdkiOS-7.16.0/";
Or use Xcode's UI to change the build settings like this: