UnityException: Launching iOS project via Xcode failed. Check editor log for details

Unity 5.0.0f4
Mac OS X 10.10.2
Xcode 6.2

UnityException: Launching iOS project via Xcode failed. Check editor log for details.
UnityEditor.iOS.PostProcessiPhonePlayer.LaunchInXcode (BuildTarget target, System.String path)
UnityEditor.iOS.PostProcessiPhonePlayer.Launch (BuildTarget target, System.String path)
UnityEditor.iOS.iOSBuildPostprocessor.LaunchPlayer (BuildLaunchPlayerArgs args)
UnityEditor.PostprocessBuildPlayer.Launch (BuildTarget target, System.String path, System.String productName, BuildOptions options) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:282)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

I’ve seen this issue over the years. I just updated to Xcode 6.2 and I get this message. I attempt to apply the fix but there is no iOS section in Unity.app.Contents/BuildTargetTools.

What to do?

Hi,

Thanks for the detailed report, I was able to reproduce it.

As a workaround, could you try Build and then running the project from Xcode?

Hi, I`m having the same problem.
After the error, i have to open the project on xcode again and hit play direct on xcode, then the project runs ok on mobile.

Hi I am having the same problem. Also, compiling using IL2CPP and (with or without) its precompiled header is significantly slower than before Unity 5. And I cant even compile with the Mono 2.x option.

I’m having this annoyance as well. Is this Apple breaking stuff or is this Unity breaking stuff? I have a sneaky feeling it is Apple, because on Xcode 6.1.1 it worked, and now on Xcode 6.2 it does not work.

YES, there is the available workaround as martonekler suggested (confirmed it works), but part of the reason I licensed Unity was to avoid touching XCode. :slight_smile:

I had the same problem, Unity 5.0.0f4 and Xcode 6.2 and THIS worked for me …

13 Likes

This fix worked for me too (Thanks Griffo!) i had exactly the same problem after updating to xcode 6.2

3 Likes

Had same problem but Griffo’s post above also solved it for me! Nice one peeps!!!

1 Like

Good info - thanks for the video on what to do.

1 Like

Yes this is gold. Worked perfectly for me.

Thanks Griffo for the fix, it worked perfectly !

1 Like

Had the same issue - but video guide worked!

1 Like

That worked a treat, thanks

Works like a charm! Thank you!

1 Like

Thanks Griffo!

1 Like

Worked for me. Thanks!!!

This worked!

Thanks,
jrDev

This worked for me with Unity 5.1.1 and Xcode 6.4

Now it doesn’t work in 5.1.2? Come on Unity…

Thanks,
jrDev

I’ve written an editor extension to solve this problem. Now you can fix this error by a simple click. ;);):wink:

Download link: Dropbox

:smile::smile::smile:

1 Like