When you download it as .unitypackage and then install it via UPM, things can be duplicated and mixed up.
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.
I appreciate the tips here - this is all quite confusing because the documentation is all over the place.
I deleted every ad related folder in my Assets folder, restarted unity, installed the Ads Mediation package, updated the network manager networks (nothing actually needed updating), deleted my entire iOS Xcode build folder, rebuilt it, and open the .xcworkspace.
I get a slightly different but similar set of files not found.
Ok, before manipulating ads, try to “reset” project:
Close Xcode and Unity
Update iOS (it will lead to downloading new Debug Symbols later when connecting phone to Xcode in “/Users/{username}/Library/Developer/Xcode/iOS DeviceSupport”)
Delete Debug Symbols for previous iOS version after completing downloading for the new one > the whole folder called “iPhone…{ios_version}…”
Delete Unity iOS build folder
Delete Unity Library folder
Delete appropriate project in “/Users/{username}/Library/Developer/Xcode/DerivedData”
Update iOS where? My physical phone is fully up-to-date. I’ll try the other steps in the meantime.
Update: followed all steps except 2 and 3 and got a similar missing file. Happy to try the updating iOS part, but I’m not quite understanding what iOS needs updating and where.
@makaka-org sorry to ping again, but the level play support folks sent me a video of them successfully building a test project and then send me that test project. Even though I’m using their same project and building the same way, it still fails with the same error I was getting with my project (missing files). This makes me think it could be due to my pod installation - I can’t think of what else could be wrong. I updated my OS and checked the pod version, which is 1.8.4. I also updated to the latest Ads Mediation package 8.3.4.
Does this spark any ideas on your end?
UPDATE: while Mac thought the latest pod version was 1.8.4, it wasn’t. By installing home brew I could get the actual latest pod version 1.15.x and then build the project without errors.
HI there! I’m stuck with same error. No header files. I’m have a last pods 1.16.x version alsd download ironsource packages. But still have no success.
You made sure that the latest version is the only version on your computer? I had an issue at one point where I only had the latest version installed on parts of my computer.
After building for iOS but before opening the project in Xcode, you opened a new terminal on the build folder (right click folder, open terminal) and ran pod install? You have to do this every time you build a new iOS build.
You opened the xcodeworkspace file? This file only generates once you run pod install. You don’t want to use the xcodeproject file.
Unity forced everyone to switch to the new LevelPlay package, and now the build process is full of bugs. The old Unity Ads package worked flawlessly on both platforms, and the compilation was clean. But with LevelPlay, the builds constantly break and nothing works out of the box.