Fail to build on iOS

Hi,

I’m having trouble having my simple game build on iOS from Unity 5.
Everything seems to go fine; except that when it comes to ‘Deploying Player’ my CPU goes crazy and it basically fails opening Xcode and I end up with the following error :

After that I can run Xcode on my own and run from there; but isn’t Unity’s purpose to make all that happen at once ?

Anybody facing a similar problem ?

Thanks !

From what I understand unity has generated your x-Code project and then runs a script to fire up x-Code. x-Code updates seem to break the script unity uses to fire up xCode and unity won’t auto load xCode usually until the next patch comes out.

So no problem. After you get the error. Open finder and go into your folder where you deployed the Unity code to for the xCode generated code and open the unity generated xCode project manually in xCode. Then Build and run it on your device once loaded.

I have to manually run mine all the time at the moment under unity 5.0. It happens quiet often. Its just unity trying to keep up with the latest script apple requires to auto run xCode from what I gather.

Yes; that’s what I’m doing as well … but come one; each build becomes a pain in the ass.
You can’t even skip the failing part on Unity; it has to ‘fail’ before you can do anything; since i’m not the only one that is having the problem i’d suggest we create an issue for this.

I can’t see it stopping anytime soon with apple continually releasing new xCode updates.
It would be nice just for it to fire up the project at least if the error occurs. It would save the hassle of looking it up. I am going to stick a shortcut to the project on my tool bar.

This is in our plans.

I now just click build and when thats finished I click a shortcut that I placed on my toolbar to the xCode project where I click build and run.

What would be cool is a button on the menu that just said build (instead of having to go through build settings) and if your build settings were iOS it would then open the project in xCode. When you see the project open in xCode you know you are ready to click Build and Run in xCode.

Any ETA for patch / fix ?