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.
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