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

I just updated to xcode 6.0.1 (6A317) in order to be able to build to iOS 8

Also I had to update unity in order to build and I updated to 4.5.4f1

When I try to build it goes through a few phases…
“AOT cross compile”
/opens xcode
/closes xcode
“Deploying player”
/opens xcode again
Then the error appears in the console and xcode is at its starting window.

XCode6 support is available within the newest patch release Unity 4.5.4p1!

http://unity3d.com/unity/qa/patch-releases