iOS Build Environment Help Center

Firebase / Google Mobile Ads (AdMob) version matching table

append delete Pierre-Marie Baty

Many projects rely on AdMob, which requires the Google Mobile Ads SDK.

This SDK is part of Google Firebase, of which everybody can download the precompiled frameworks here: https://github.com/firebase/firebase-ios-sdk/releases

Unfortunately with Google the different parts of Firebase all have a different version number, that obviously doesn't match the Firebase release number. For example, if you want Google Mobile Ads version 7.69, you need to download Firebase version 7.5 (how logical).

You'd think Google put a table somewhere with the version number equivalences. You'd really think that.

They didn't, so I had to do it. Here is the table that will tell you which Firebase version to download for the Google Mobile Ads pod version number that you're looking for. Were scoured all the Firebase releases up to last december. I suppose 6 months history will be enough, isn't it?

%
Firebase versions	Google Mobile Ads version
-------------------------------------------------
8.9.1			8.12.0
8.9.0			8.12.0
8.8.0			8.11.0
8.7.0			8.10.0
8.6.0			8.9.0
8.5.0			8.8.0
8.4.0			8.7.0
8.3.1			8.7.0
8.3.0			8.7.0
8.2.0			8.6.0
8.1.0			8.5.0
8.0.0			8.4.1
7.11.0			8.3.0
7.10.0			8.3.0
7.9.0			8.2.0.1
7.8.1			8.1.0
7.8.0			8.1.0
7.7.0			8.0.0
7.6.0			8.0.0
7.5.0			7.69.0
7.4.0			7.69.0
7.3.0			7.69.0
7.2.0			7.68.0
7.1.0			7.68.0
%

Well, now, thank you Google for having eaten up 2 hours of my time downloading and extracting 20 gigabytes of ad p*rn. The fact is, that information can only be found in the README.md file that accompanies each release, and not on the GitHub's source repository. You have to download their whole gloobiboogla each time to find out which version of what they've embedded in that particular release of Firebase.

Ah well. I hope (er, no. I'm _sure_) this information will save many people's time. A good deed was done today.

Feel free to add information below this thread when new releases of Firebase happen, and I'll add them to the table.

Happy building,

:: @Pierre-Marie Baty added on 11 Jun ’21 · 11:52

Concretely, what it means:

Say your project has a Podfile that says:

%
source 'https://github.com/CocoaPods/Specs'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'UnityFramework' do
  pod 'Google-Mobile-Ads-SDK', '~> 8.2'
end
target 'Unity-iPhone' do
end
use_frameworks!
%

In order to build faster without CocoaPods, remove that line from the Podfile (or rename the Podfile to Podfile.bak if it's the only pod), look up the corresponding Firebase version number in the above table (here, Firebase 7.9), download Firebase 7.9 and unpack it somewhere on your hard disk, and use the "Add extra framework" builder button to point it to the GoogleMobileAds.xcframework directory.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Addition 2021-11-11: version equivalences for Firebase 8.4.0 to 8.9.1

append delete #2. Pierre-Marie Baty

Note to all: this table is outdated. I remove it from the sticky threads.

The posted information still has relevance as it describes the method used in building the table. Basically, download each Firebase binary SDK for iOS, and look for the version numbers in the README.md file that comes with the download.

If anybody knows a faster method (i.e. without downloading first), feel free to post here. It'll be immensely helpful to many people.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty