iOS Build Environment Help Center

I try to install AdMob 8.7 manually error: undefined symbol

append delete gostrafx1

Windows v19045.4170
Unity v2021.3.30f1
iOS Builder v3.62
SDK Xcode 15.3 Release
Google Mobile v8.7.0
Google Mobile Ads iOS SDK v10.14
Firebase Apple SDK v10.22.0

Hi
I followed the steps
https://www.pmbaty.com/iosbuildenv/help/thread.php?path=Problem%20solving/&file=how-to-build-admob-google-mobile-ads-sdk-projects-without-cocoapods

here is the video
https://drive.google.com/file/d/1_h-GcOVTdAwmKUEHGAvW9V2j2E2xnSOs/view

I don't understand am I doing something wrong

Thanks.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Please provide a link to the full build log, I can't diagnose on video.

But from what I see you seem to have followed the walkthrough *literally* instead of using the illustrated method to adjust to your specific Google SDK version.

You need to resolve the undefined symbols by using the procedure given in the documentation :
1 - identify the library to which the first missing symbol belongs (a web search on the symbol name usually gives the answer)
2 - locate the corresponding framework among those you downloaded
3 - feed it to the builder
4 - rebuild ; if error goto step 1

append delete #2. gostrafx1

Hi Pierre,
Thank you for your reply

I managed to get the application working with admob

here is my implementation SDK
https://ibb.co/t8jNZHf
https://ibb.co/BKDZrTs
https://ibb.co/0J6R4mM

I didn't need this file : GoogleService-Info.plist.

This is my first application on iOS and I have never used the iOS ecosystem, that's why I'm a little lost

I have a question with tool CocoaPods daemon is it easier to implement the SDK ?

2 question why don't you create a discord server it's easier to communicate with other developers and share solutions ?

Thank you.

:: @gostrafx1 added on 20 Mar ’24 · 19:51

What is the difference between
Main app[Admobb] & UnityFramework

append delete #3. Pierre-Marie Baty

Regarding your first question: using the CocoaPods daemon.

Its advantages:
- makes downloading and setting up of dependencies as easy as it would on Mac.
- works with 90% of projects.
- mimics the way it works on macOS.

Its drawbacks:
- slows down your builds a lot because it recompiles everything from source, i.e. not only your project but also the dependencies it downloads for you
- fails with 10% of projects (namely, those that use pods written in mixed languages, and those that run complex non-portable POSIX shell scripts to set up resources)
- costs an extra $.

If you're a complete newbie, don't mind having longer build times and would prefer an automatic tool for handling your Xcode project dependencies, go for the CocoaPods daemon. If you're a knowledgeable user, or one who prefers faster builds, or are short on money, go without it.

Regarding your second question : these tabs are what Xcode calls the "targets" of your Xcode project. They are equivalent to "projects" in Visual Studio terminology. In Apple's language, a "project" has several "targets" just like at Microsoft, a "solution" has several "projects". Think different, etc...

:: @Pierre-Marie Baty added on 21 Mar ’24 · 00:46

*edit* about the Discord server, the reason is that my programming work is done best when I can concentrate over long periods of time, and I want to choose when I can be disturbed. There wouldn't be less wait time if people were waiting for my reply on Discord than on e.g. this forum. I do my best to provide help to everybody but because of my independent programmer activity, I must deliver various things (most often totally unrelated with this toolchain) to various customers and I have very, very little free time :-/

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