Updated to Xcode 7 Beta 5 and receiving this error: failed with exit code 6

1.3k Views Asked by At

I recently updated to Xcode 7 beta 5 and I tried to run my project but it failed with 1 error:

Command /Volumes/Xcode 1/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 6

I not sure why this is happening as I have never received an error like this. I am new to coding, especially in swift so I would be grateful if you could explain in detail the problem and how to fix it in detail.

2

There are 2 best solutions below

0
On

Copy the Xcode-beta.app from the mounted .dmg volume to your /Applications directory.

Try running it from that location. Upon launch, it will want to download a few things, so allow it to do so.

If that doesn't work, give the precise details of how you got the error.

1
On

I had the same problem. It was resolved with refreshing account by opening (form the top menu) Xcode-Preferences-Accounts-View Details and clicking on "refresh" (circled arrow) button.