Closed mihaicris closed 5 years ago
I'm not familiar with xed
, can you tell us a bit more?
It is a tool to open Xcode from the terminal or whitin a script. The tool is called Xcode text editor invocation tool.
More info from man xed
.
I don't know how to make xed
be aware of a default Xcode version (provided by xcode-select -p
).
Might have been a Problem with Xcode?
from https://developer.apple.com/documentation/xcode_release_notes/xcode_10_1_release_notes
Resolved Issues
The xed tool now uses the Xcode currently specified by xcode-select or the DEVELOPER_DIR environment variable. (7711481)
Can be closed then..
Install xcode 10 beta 6 (or any beta)
xcversion install '10 beta 6'
Select version of xcode to non-beta
xcversion select 9.4.1
Navigate to a project folder from terminal (with workspace)
cd /path/to/xcode/project
Launch de editor from terminal:
xed .
It should use xcode 9.4.1, instead it opens the project with xcode 10 beta 6.