Admob iOS下新版sdk出現(xiàn)錯(cuò)誤的解決方法

來源:簡書
作者:Zszen
時(shí)間:2020-06-30
2368
本文是Admob iOS下新版sdk出現(xiàn)錯(cuò)誤的解決方法。

按照官方在plist上添加

<key>GADApplicationIdentifier</key>

<string>ca-app-pub-3940256099942544~1458002511</string>

錯(cuò)誤提示

The Google Mobile Ads SDK was initialized incorrectly.Google AdMob publishers should follow instructions here:https://googlemobileadssdk.page.link/admob-ios-update-plist to include the AppMeasurement framework,set the-ObjC linker flag,and set GADApplicationIdentifier with a valid App ID.Google Ad Manager publishers should follow instructions here:https://googlemobileadssdk.page.link/ad-manager-ios-update-plist

The Google Mobile Ads SDK was initialized incorrectly.Google AdMob publishers should follow instructions here:https://googlemobileadssdk.page.link/admob-ios-update-plist to include the AppMeasurement framework,set the-ObjC linker flag,and set GADApplicationIdentifier with a valid App ID.Google Ad Manager publishers should follow instructions here:https://googlemobileadssdk.page.link/ad-manager-ios-update-plist

在plist上添加

<key>GADIsAdManagerApp</key>

<true/>

再次運(yùn)行即可,大概是屏蔽掉GoogleAppMeasurement.framework的檢查

2068504-9870ff2aca332412 (1).jpg

本身只使用admob的話用不到它

立即登錄,閱讀全文
原文鏈接:點(diǎn)擊前往 >
版權(quán)說明:本文內(nèi)容來自于簡書,本站不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。文章內(nèi)容系作者個(gè)人觀點(diǎn),不代表快出海對觀點(diǎn)贊同或支持。如有侵權(quán),請聯(lián)系管理員(zzx@kchuhai.com)刪除!
優(yōu)質(zhì)服務(wù)商推薦
更多
掃碼登錄
打開掃一掃, 關(guān)注公眾號(hào)后即可登錄/注冊
加載中
二維碼已失效 請重試
刷新
賬號(hào)登錄/注冊
個(gè)人VIP
小程序
快出海小程序
公眾號(hào)
快出海公眾號(hào)
商務(wù)合作
商務(wù)合作
投稿采訪
投稿采訪
出海管家
出海管家