I’ve been building to IOS for the last two years and have had only minor
issues, I’ve spent the last week trying to figure out why I’m getting this error.
Things I’ve tried:
Removing Unity Ads from my project
Changing to Ad Mediation (I thought maybe Unity ads legacy was being discontinued)
Uninstalling and Reinstalling Cocoapods
Installing an older version of cocoapods
I’m wondering if it has something to do with how Cocoapods is setting up my project, but really I’m not 100% sure. If anyone else has encountered anything like this your help is much appreciated!
Indeed, Unity forces developers to integrate Unity Ads via Unity LevelPlay (New Standard in Unity). The Unity Ads as Unity package will not be updated. It was announced a long time ago.
I guess Legacy Ads 4.12 is the latest bounty is in updating this Unity package that can have bugs.
The newest approach is to use only Ads Mediation package that can be installed from Unity Package Manager.
This package is all you need. It will NOT be located in the Assets folder.
So, if you installed the LevelPlay it via importing the Unity Package which you downloaded from ironSource website, and you see it in the Assets folder, you must delete it, because it will be duplicating the stuff, and other issues.
Clear all ads related stuff.
Restart Unity.
Install the Ads Mediation package via Unity Package Manager.
Go to Unity Menu > Ads Mediation > Network Manager and update dependencies from here.
That worked!! amazing!
I uninstalled unity ads before, but I didn’t clear all ad related things before reinstalling Ads mediation, as you describe in your steps. Thank you so so much!
Cause this took me way longer than it should have, make sure to also delete the file at this path: \Assets\Editor\MediationAdapterDependencies.xml as referenced in this solution
Makaka, thanks for being in all the forums covering this issue
Hi,
I’m finding this post after I get the same error message:
Undefined symbol: _OBJC_CLASS_$_UnityAds
I’m not sure I understand well. The app I’m building does not have (and must not have) any ad at all… Is that to say that even though I won’t have ads in my app, I need to include the Ads Mediation package? Otherwise it won’t build for iPad?