Closed ghost closed 1 year ago
@akselilukkarila Can you sudo xcodes update
first?
Believe the sudo
makes it save the list somewhere else.
@akselilukkarila Can you
sudo xcodes update
first?Believe the
sudo
makes it save the list somewhere else.
Thanks, running sudo xcodes update
first works 👍🏻 Maybe this could be mentioned in the documentation
This is partly related to a recent regression in 1.0.0, where running xcodes install
no longer updates the list of Xcodes automatically when using the Xcode Releases data source. My PR for #226 should fix that regression, and it also makes it so the update will run automatically if the requested version is unknown.
I am migrating from
xcode-install
/xcversion
to this tool, which we use to automate installing Xcode in CI.Trying to run
sudo xcodes install <version>
seems to always fail withCould not find version <version>
For example:
Same thing happens with version 14.0 as well.
The version is there for sure, I have run
xcodes update
and added a check:I need to run it with sudo since the install requires the user credentials according to the documentation, and this is running in CI in a non-interactive shell.