Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Select the version specified by the .xcode-version by default #235

Closed
daltonclaybrook opened this issue Oct 29, 2022 · 0 comments · Fixed by #238
Closed

Comments

@daltonclaybrook
Copy link
Contributor

When running xcodes install with no arguments, xcodes will attempt to determine the correct version to install by reading the .xcode-version file in the current directory. I believe that this should be the behavior when running xcodes select without any arguments as well. When running this command today, the user is prompted with a list of installed Xcode versions. I believe this prompt should be bypassed if an .xcode-version file is found. To preserve the old functionality, a new flag could be added like xcodes select --prompt (for example). I realize that this change in behavior could be disruptive for people who are very familiar with the tool, so as an alternative, I could also support a flag like xcodes select --file (for example) that would look for the file and fail automatically if the file isn't found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant