Reputation: 167
I've integrated AdMob in my iOS project but it gives me the following error.
module 'GoogleMobileAds' not found
I have already imported the AdMob SDK into my project and added the following import.
@import GoogleMobileAds;
Upvotes: 2
Views: 121
Reputation: 6394
Change the import calls:
@import GoogleMobileAds
to this
#import <GoogleMobileAds/GoogleMobileAds.h>
Upvotes: 0
Reputation: 18878
In the Build Settings of you project set the Define Modules to YES. Then, remove the AdMob Framework from your project, clean your project, and import the AdMob Framework again.
Upvotes: 3