Closed TomaszLizer closed 1 year ago
Hi @TomaszLizer you can use the --directory
option to specify where xcodes should look for existing versions. Without this option xcodes will look at /Applications
by default.
You can also use XCODES_DIRECTORY
Environment variable instead of the above option.
Let me know if that works out for you.
It indeed works like a charm. Not as neat (no additional setup needed) as xcode-install which searches directories, but does the job :) Thanks @MattKiazyk
I am using xcodes cli installed through homebrew version: 1.1.0. On my local machine I keep all xcode versions in
Work
folder located insideApplications
folder so example path to xcode will be/Applications/Work/Xcode_14.0.1.app
. Xcodes for such scenario do not see my installed xcode versions (xcodes installed
). If I move on of the installations directly toApplications
folder it can be found without any issues. I am migrating fromxcode-install
due to its "sunset" and it handled it without any problem.