- Home /
5.3 upgrade throws Xcode error with ads
Hello, So I integrated ads in 5.02 via the unitypackage and they worked fine on Android. Then I upgraded to unity 5.3 to deploy to iOS. I deleted all of the associated package files (I think) and then activated ads via the services window. When I build to iOS without ads enabled the game runs fine. But when I enable ads via the services window I get Xcode build errors referencing the UnityAds Wrapper .h and .mm files not existing in the plugins/iOS folder. Then when I place those files back in the folder and build I get an error saying that there are duplicate references to UnityAdsWrapper. I don't get it. I've been struggling with this for a while - Xcode gets mad if the files are present and equally as mad if they aren't. Has anyone had a similar experience with this or is there a certain way to uninstall the old unity ads package before enabling via unity services? Any help is appreciated.
Your answer
![](https://koobas.hobune.stream/wayback/20220612054301im_/https://answers.unity.com/themes/thub/images/avi.jpg)