iOS Build Environment Help Center

Errors compiling an Admob project.

append delete MG

Hi Pierre-Marie.

Configuration:
- Windows 11 22H2 (Home)
- Unity 2021.3.16
- Builder: 3.54
- iOS SDK: 16.2

Log with CocoaPods add-on:
https://pastebin.com/xkMZTk0j

Log without CocoaPods add-on:
https://pastebin.com/fEc6Kc0F

I've been unable to get a build working. From this log, does it appear I am missing anything obvious? I'm hoping it's something as simple as just a dependency I need to add, but I've tried to deduce all day what it could be. I purchased the CocoaPods add-on and it didn't help.

The only plugin of note I am using is Admob.
Here are my linkers: https://pastebin.com/m2kMQVR0
Here are my extra compiler flags: https://pastebin.com/cHAVSehN

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

The pthread mutex error during compilation looks like either a SDK issue (corrupted or outdated SDK), or a bogus generated Xcode project. Do you have the possibility to test if Xcode can build it ?

I remember having encountered this error once, but unfortunately I can't remember what it was. The only thing I can remember is that it was eventually solved...

append delete #2. MG

I was able to compile a blank unity project using the iOS Builder for Unity tool, but as soon as I installed the latest AdMobs package to that project, it spit out the same errors. I took the project to XCode and it failed to build as well with these similar errors:

https://pastebin.com/MgDcDCA1

My wild guess is that Unity, Admob package, or the External Dependency Manager package is screwed up somehow. I'm not sure how I would be able to deduce without days of downloading, compiling, and testing various permutations of versions for both Unity and Admob. I guess I'll start by trying a different Ad provider and seeing if the same problems arise.

I figure this is probably out of your jurisdiction since not even XCode will compile it. If you happen to have any guesses to point me in the direction to figure out that problem, it'd be greatly appreciated. Thanks for your time!

append delete #3. Pierre-Marie Baty

Indeed if Xcode is unable to build it then something's screwed up beyond this builder's control.

I suggest opening a problem report at AdMob.

P.S. You're welcome

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