iOS Build Environment Help Center

GADUConsentForm and GADUConsentInformation errors after adding Google Ads

append delete KamilG

Hi
After adding Google Mobile Ads to my project I'm having problems with building it

Last lines from log:

" + [arm64] Including Libraries/Plugins/iOS/unity-plugin-library.a...
+ [arm64] Linking UnityFramework...
ld64.lld: error: undefined symbol: OBJC_CLASS_$_UMPConsentForm
>>> referenced by build/Release-iphoneos/UnityFramework/arm64/__libs\libunity-plugin-library.a(GADUConsentForm.o):(symbol ltmp7+0x0)

ld64.lld: error: undefined symbol: OBJC_CLASS_$_UMPConsentInformation
>>> referenced by build/Release-iphoneos/UnityFramework/arm64/__libs\libunity-plugin-library.a(GADUConsentForm.o):(symbol OBJC_CLASSLIST_REFERENCES_$_.2+0x0)
>>> referenced by build/Release-iphoneos/UnityFramework/arm64/__libs\libunity-plugin-library.a(GADUConsentInformation.o):(symbol ltmp7+0x0)

ld64.lld: error: undefined symbol: OBJC_CLASS_$_UMPRequestParameters
>>> referenced by build/Release-iphoneos/UnityFramework/arm64/__libs\libunity-plugin-library.a(GADUConsentInformation.o):(symbol OBJC_CLASSLIST_REFERENCES_$_.1+0x0)

ld64.lld: error: undefined symbol: OBJC_CLASS_$_UMPDebugSettings
>>> referenced by build/Release-iphoneos/UnityFramework/arm64/__libs\libunity-plugin-library.a(GADUConsentInformation.o):(symbol OBJC_CLASSLIST_REFERENCES_$_.2+0x0)"

• Win 10
• Builder 3.56
• iOS SDK 16.4

There were more errors like that but after adding GoogleMobileAds.framework to the builder only those 4 are left.
Tried few different things but can't fix that :(

Thanks!

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

A Google search tells me that those UMP* functions are from the UserMessagingPlatform framework.

https://www.google.com/search?q=umpconsentform

Second result :

https://developers.google.com/interactive-media-ads/ump/ios/quick-start

Consequently just add this framework too and your app will build.

Let me know if you need more explanations.

Best regards,

append delete #2. KamilG

Damn it! It works!
I should've asked earlier :)

Thank you for helping and generally for this whole piece of sorcerery that your tool is :)
Keep up the good work :)

append delete #3. Pierre-Marie Baty

You’re welcome. Spread the word about it if you found it useful. Happy building !

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