Can't Update Google AdMob in iOS Project

与世无争的帅哥 提交于 2019-12-05 15:04:51

The latest version at the time of your question should be 7.9.1.

Did you try update(verbose)?. I recommend you download the cocoaPods applications, makes managing your pods much easier.

https://cocoapods.org/app

Once installed and you open a pod file, you will have 3 options at the top right (install, install verbose and update verbose). I would try them and see if it pushes to the latest update.

If that doesn't work, maybe try uninstalling the SDK from cocoa pods. Restart your xCode project and try installing the pod again.

If that also doesn't work that I would try installing the AdMob SDK directly via

pod 'Google-Mobile-Ads-SDK'.

I am not sure what the difference is between the regular one and the firebase one, maybe the firebase one slightly different.

Note: As member Eric Lichtenschlag has so kindly pointed out

AdMob sometimes does releases outside of the Firebase release cycle, and updates the Google-Mobile-Ads-SDK pod. However, when Firebase releases, their Firebase/AdMob pod depends on a specific version of Google-Mobile-Ads-SDK so that it's stable and your Firebase experience doesn't change in between Firebase releases. Currently, the latest Firebase release is pointing to Google-Mobile-Ads-SDK 7.8.1. On the next Firebase update, it will point to the latest version of AdMob, which is currently 7.9.1.

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!