Reputation: 4726
I've integrated Google AdMob into my iOS(Swift) project using Cocoapods. It's working fine.
When I first saw the log message regarding there is an update for AdMod, I ran pod update
BUT the message still gets logged and tells me to update AdMob.
From the output of pod update
, I see that AdMob is at it's latest version. v 7.8.1 but somehow Xcode does not recognise the change.
Any ideas?
Update
My Podfile:
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'En Yakın' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Ara Bul
pod 'SwiftyJSON'
pod 'Firebase/Core'
pod 'Firebase/AdMob'
end
Upvotes: 4
Views: 2569
Reputation: 10664
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.
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.
Upvotes: 4