AppLovin / AppLovin-MAX-SDK-iOS

Other
91 stars 74 forks source link

Duplicate symbols error on Unity integration #366

Open StrawHara opened 2 months ago

StrawHara commented 2 months ago

I had to comment out the line @objc(ALUnityAdsMediationAdapter) in UnityAdsAdapter.swift to make the project compile successfully. This line was causing a linker error due to duplicate symbols because it exposed the Swift class with the same Objective-C name (ALUnityAdsMediationAdapter) that was already defined elsewhere in the project, likely from an SDK integration.

https://github.com/AppLovin/AppLovin-MAX-SDK-iOS/blob/fd6307b54ef6ea3635dc1264042edfb19c0d1c16/UnityAds/UnityAdsAdapter/UnityAdsAdapter.swift#L12

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.