Admob SDK - iOS -File not found Admob SDK - iOS -File not found objective-c objective-c

Admob SDK - iOS -File not found


Starting at AdMob 7.0, AdMob has made the SDK a framework. Import it like so:

#import <GoogleMobileAds/GoogleMobileAds.h>


Go to: --> Build Settings --> Apple LLVM 7.1 - Language - Modules --> Enable Modules (C and Objective-C) --> set it to Yes.


According to the Google Ads Developer Blog we need to use:

@import GoogleMobileAds;

If you have a problem with the @import syntax you need to modify your project build settings. Search for Modules and set Enable Modules to YES.