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 - 请提供示例代码?)

本文介绍了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 ?

豆荚文件:

推荐答案

AdMob 刚刚将主要版本更新到 8.0.0,并更改了一些 API.

AdMob just did a major version update to 8.0.0 with several API changes.

要么

  • 使用 pod 'Google-Mobile-Ads-SDK', '~> 将 pod 锁定到 7.x7.69'
  • 执行 https://developers.google.com/admob 中记录的 8.x 迁移/ios/迁移

这篇关于Admob ( GoogleMobileAds 8.0.0 ) iOS SDK - 未找到 GADInterstitial API,如何使用 GADInterstitialAd - 请提供示例代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Admob ( GoogleMobileAds 8.0.0 ) iOS SDK - 未找到 GADInterstitial API,如何使用 GADInterstitialAd - 请提供示例代码?

基础教程推荐