Don’t even know where to start w/out getting down and dirty and trying to figure out what’s wrong in the xcode proj file in text editor, which is harrowing at best.
Imported unityads from asset store, into game project that has been healthily building to xcode for months.
After integrating unityads, build process produces a xcode proj, but when I try to open it I get a popup window that says
“Failed to load project at [path redacted]/Unity-iPhone.xcodeproj” for an unknown reason."
I see that there is a “UnityAds” folder in my output build folder so I know that it ran. My guess is that the postprocess script is conflicting with some other plugin’s postprocess. Some of it is P31, which i doubt Unity would have clashed with and not heard about by now, Facebook, and some other more proprietary ones and ad networks.
Any clues? Any suggestions on what to try to even figure out what’s going wrong??
Make sure you have the latest Prime31 tools (released Friday) as this may fix the issue. Another thing to try is find the postprocessor script in the UnityAds build system code and make the priority number negative to force it to be done first. And, build to a fresh folder.
Latest versions of everything is a good call. Make sure you’re also running the latest patch release of Unity.
When you build to iOS from Unity, try selecting the option to Replace instead of Append when generating the Xcode project, or save your Xcode project to a new directory instead.
I’m having the same issue and have tried the fixes from this thread to no avail (both the [PostProcessBuild(-1)] and the Prime31 GUID lookup fix). Using Unity 4.6.4p4, latest Everyplay, latest Prime31. Builds fine without the latest Everyplay (much older version works fine).
Which prime31 plugins are you using?
I’m using an updated version of the IAP Combo (i.e. StoreKit for iOS) and older versions of: Social Networking Combo, Etcetera, & Etcetera 2
Updated Social Networking & Etcetera & no changes. (shouldn’t matter with the build process, but just ruling out strange possibilities)
Are you using Xcode 6.3.1? Also when you build your Unity project, do you Append or Replace you Xcode project? Which version of Unity are you running? I’d recommend running the latest patch release if not already.
There have been issues reported lately relating to prime31. Will try to reproduce the issue.
Has anyone had any success solving this issue? I’ve just run into this, too. Tried everything you suggested, but nothing worked. Even completely removing the Prime31 plugin I’m using didn’t solve it, only removing the Unity Ads plugins works.