capacitor-community / admob

Community plugin for using Google AdMob
MIT License
205 stars 66 forks source link

Xcode iOS Undefined symbol: _OBJC_CLASS_$_UMPConsentForm #278

Closed paulstelzer closed 10 months ago

paulstelzer commented 10 months ago

Describe the bug If I want to build the app in Xcode and the following error occurs in Xcode

Undefined symbol: _OBJCCLASS$_UMPConsentForm Undefined symbol: _OBJCCLASS$_UMPConsentInformation Undefined symbol: _OBJCCLASS$_UMPDebugSettings Undefined symbol: _OBJCCLASS$_UMPRequestParameters

I have a Macbook Pro with M2.

Does anyone has the same issue and fixed it?

If I build the app on a Azure machine which has no M2 chip, the build succeeded. Updating Google-Mobile-Ads-SDK to 10.10.0 did not help

paulstelzer commented 10 months ago

Solved by forking and updating Google-Mobile-Ads-SDK to 10.10.0