Reputation: 848
I have just updated my Mac from Yosemite to Capitan 10.11.1. Before updated Xcode 5.1.1 was work fine (in Yosemite) . But now when I run then it (in Capitan 10.11.1) shows:
You can’t use this version of the application “Xcode.app” with this version of OS X.
I also tried this command:
/Applications/Xcode5.app/Contents/MacOS/Xcode </dev/null &>/dev/null &
But does not work. I need run it in Capitan.
Upvotes: 4
Views: 2654
Reputation: 11
The app is called "Xcode.app", not "Xcode5.app", so use this command instead
/Applications/Xcode.app/Contents/MacOS/Xcode </dev/null &>/dev/null &
It is the same code that you posted, but with Xcode.app instead of Xcode5.app
Upvotes: 1