简体   繁体   English

Google Admob集成错误

[英]Google Admob integration error

i use the latest version of SDK for iphone integration but it give me this error. 我使用最新版本的SDK进行iphone集成,但它给了我这个错误。 在此处输入图片说明

Remove the AdMob Framework from your project, clean your project, and import the AdMob Framework again. 从您的项目中删除AdMob框架,清理项目,然后再次导入AdMob框架。

and Download the Framework here enter link description here 并在此处下载框架,在此处输入链接描述

#import <GoogleMobileAds/GADBannerView.h>
#import <GoogleMobileAds/GADRequest.h>

As it's now a Framework. 由于它现在是一个框架。 You have to include it like this : 您必须像这样包含它:
@import GoogleMobileAds;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM