googleads / swift-package-manager-google-mobile-ads

Apache License 2.0
135 stars 22 forks source link

Linker error: `duplicate symbol '_adView' in:` when using AppLovin #55

Closed stsandro closed 7 months ago

stsandro commented 7 months ago

I've encountered a linker error while utilizing the latest package version 11.0.0 alongside the mediation adapter and SDK for AppLovin. It appears that both SDKs contain a file named OMIDJavaScriptSessionService.o or GADOMIDJavaScriptSessionService.o with an _adView attribute (refer to the attached screenshot). This issue first surfaced with version 11.0.0; however, version 10.14.0 functions properly in this aspect.

Screenshot 2024-02-07 at 11 16 52
lotz commented 7 months ago

Looks like 11.0.1 fixes this! Thanks for getting on it so quickly.

https://github.com/googleads/swift-package-manager-google-mobile-ads/releases/tag/11.0.1

stsandro commented 7 months ago

Yes, I just confirmed it. It is fixed now.

Thanks you 🙏