Admob(GoogleMobileAds 8.0.0)iOS SDK-找不到GADInterstitial API,如何使用GADInterstitialAd-请提供示例代码? [英] Admob ( GoogleMobileAds 8.0.0 ) iOS SDK - GADInterstitial API not found, How to use GADInterstitialAd - sample code please?
本文介绍了Admob(GoogleMobileAds 8.0.0)iOS SDK-找不到GADInterstitial API,如何使用GADInterstitialAd-请提供示例代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
下面一行没有错误
#import <GoogleMobileAds/GoogleMobileAds.h>
但是没有检测到Admob API ...它为所有admob API给出了错误.检测到另一个SDK(Applovin)API.
But none of Admob API detected…Its giving error for all admob API. Another SDK(Applovin) API detected.
这是屏幕截图.如何修复Admob/GoogleMobileAds?
Here is screenshots. How to fix Admob/GoogleMobileAds ?
Pod档案:
Pod File:
推荐答案
AdMob刚刚对主要版本进行了更新,将API更改为8.0.0.
AdMob just did a major version update to 8.0.0 with several API changes.
任何一个
- 使用
pod 'Google-Mobile-Ads-SDK', '~> 7.69'
将吊舱锁定到7.x
- 执行 https://developers.google.com/admob上记录的8.x迁移/ios/migration
- Lock the pod to 7.x with
pod 'Google-Mobile-Ads-SDK', '~> 7.69'
- Do the 8.x migration documented at https://developers.google.com/admob/ios/migration
这篇关于Admob(GoogleMobileAds 8.0.0)iOS SDK-找不到GADInterstitial API,如何使用GADInterstitialAd-请提供示例代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文