模块“GoogleMobileAds”iOS中未发现 [英] Module 'GoogleMobileAds' not found in iOS

查看:1856
本文介绍了模块“GoogleMobileAds”iOS中未发现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更新了谷歌的AdMob的SDK 7.1.0使用吊舱。

I updated Google AdMob SDK to 7.1.0 using Pods.

因此​​,在我appDelegate.m,我想加入这一行

So in my appDelegate.m, I am trying to add this line

@import GoogleMobileAds;

但我得到的错误说的模块GoogleMobileAds'未找到

这问题也present在Interstial广告例如通过谷歌在GitHub上。

This issue is also present in Interstial Ad example by google on gitHub.

问候 兰吉特

推荐答案

下面就是答案:

这导入到您的 .m文件

#import <GoogleMobileAds/GADInterstitial.h>

这篇关于模块“GoogleMobileAds”iOS中未发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆