As I have read many Firebase AdMob related issue questions and its solution I have done the same thing with my app & CocoaPod
update but still facing an issue with the library and getting the below error:
[GADMobileAds configureWithApplicationID:@"ca-app-pub-3940256099942544~1458002511"];
Error: No unknown class for the selected method configureWithApplicationID
Question reference: Can't Update Google AdMob in iOS Project
Still, it's getting below SDK version from POD
Google-Mobile-Ads-SDK (7.8.1)
Though I put manually forced update on the latest version like below:
pod 'Google-Mobile-Ads-SDK', '~> 7.16'
also
pod 'Google-Mobile-Ads-SDK', '~> 7.9.1'
Reference: Based on CocoaPod site
target 'MyApp' do pod 'Google-Mobile-Ads-SDK', '~> 7.16' end
It will give me an error like:
[!] Unable to satisfy the following requirements: - `Google-Mobile-Ads-SDK (= 7.16)` required by `Podfile` None of your spec sources contain a spec satisfying the dependency: `Google-Mobile-Ads-SDK (= 7.16)`. You have either: * out-of-date source repos which you can update with `pod repo update`. * mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile. Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
I have also done pod repo update
but still no result for the latest library.
Edit:
While I download manually still it's giving me the old library without the above method implemented how disgusting SDK update Google needs to update this library regularly.
Please help me on the same as I have been stuck here since last night.
Thanks in advance.