iOS Build Environment Help Center

:: Build fails on various Libraries/Plugins/iOS/ classes

append delete Ayrton Olvera

Windows 11
Builder version 3.48
iOS SDK 15.2

---

Hello!
I've been trying to build my unity game but it fails in when reaching the GADUInterstitial library and in other ones, I've followed the instructions provided in here: https://www.pmbaty.com/iosbuildenv/help/thread.php?path=Problem%20solving/&file=how-to-build-admob-google-mobile-ads-sdk-projects-without-cocoapods
But I'm not really sure if this is related to google mobile ads SDK since I've been trying with different version (8.8.0 , 8.9.0, 9.0.0) with no luck.

Within my Unity project I use the plugin EasyMobilePro (https://assetstore.unity.com/packages/tools/integration/easy-mobile-pro-75476#description), this way I can use just one call to trigger the ads without distinguishing the platforms

I attach the build logs: https://pastebin.com/NKeqgZpL

Thanks!

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

This looks like an API mismatch between your code and the Google SDK. Are you sure you’re using the right version of ?

:: @Pierre-Marie Baty added on 02 Jun ’22 · 09:24

*edit* mistyped sentence: "Are you sure you're using the right version of it ?"

Your Unity code relies on a particular version of the Google Mobile Ads framework. You need to build your project against exactly that version. Beware, that version number is not the same as the Google Firebase SDK version number (of which Google Mobile Ads is a part). See https://www.pmbaty.com/iosbuildenv/help/thread.php?path=Problem%20solving/&file=firebase-google-mobile-ads-admob-version-matching-table for details.

append delete #2. Ayrton Olvera

Thanks for your response!

In my project I'm using the Google Mobile Ads Unity Plugin v6.1.2, which I see it uses the Google Mobile Ads iOS SDK 8.8.0, so for that I'm using Firebase SDK version 8.5.0, since I've tried with different versions with the same result I'm not sure if it's making the proper changes in the Libraries/Plugins/iOS of the project.

append delete #3. Pierre-Marie Baty

What is relevant is what's written in your Podfile. You need to use the version numbers written there, and get them from the appropriate Firebase SDK (whose version number will be different, thanks Google for such a brilliant idea) by looking in the README.md file of each release of Firebase.

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