MacBook Air 11' mid-2011.
When opening Xcode from Terminal, I get this:
Kukoda-MacBook-Air:~ kukodajanos$ sudo open /Applications/Xcode.app
Password:
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Xcode.app.
Do I need 10.0?
Following this thread: https://forums.developer.apple.com/thread/115847
Using Xcode.app/Contents/MacOS/Xcode executable:
Last login: Fri Jan 10 10:20:11 on ttys001
Kukoda-MacBook-Air:~ kukodajanos$ /Applications/Xcode.app/Contents/MacOS/Xcode ; exit;
dyld: Library not loaded: @rpath/XcodeKit.framework/Versions/A/XcodeKit
Referenced from: /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
Reason: image not found
Abort trap: 6
logout
Saving session...
...saving history...truncating history files...
...completed.
Deleting expired sessions...1 completed.
[Folyamat befejeződött]

IDEFoundation.framework not foundsee more above – János Jan 10 '20 at 09:43