1

As of this morning, Xcode 6.4 stopped launching on my Mac running OS X 10.10.5 Yosemite.

I tried to launch with

sudo open --new /Applications/Xcode.app

but got

LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Xcode.app

I've reinstalled Xcode, but get the same result. I've tried Disk Utility and antivirus software and my system seems to be clean.

Any ideas how I should proceed, short of reinstalling OS X?

1

Make a new user account (admin role) and log out.

If you can start Xcode from Launchpad or Finder in the new account - it's a user level issue. If not, then start with system issues like restart / reinstall latest combo updater or safe boot.

1

Turns out that Xcode.app had an extended attribute com.apple.quarantine which blocked the app from starting. After having removed it with xattr -c /Applications/Xcode.app Xcode is working again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .