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

Error "Not a valid number. Expecting a whole number between 1-0" shows when running xcodes select when no Xcode is installed #350

Open
ngimelliUW opened this issue Mar 4, 2024 · 0 comments

Comments

@ngimelliUW
Copy link

ngimelliUW commented Mar 4, 2024

Summary
If you try to run xcodes select when no version of Xcode is installed, you get the error:

Not a valid number. Expecting a whole number between 1-0, but given...

This can possibly happen if an installation of a new Xcode version partially completes (uninstalling previous versions), but does not finish installing the new version. A user under the false impression that a new Xcode version is installed might then run this command, and the error message does not make sense.

Screenshots
Screenshot 2024-03-04 at 3 49 53 PM

Proposed Solution
If no Xcode version is installed, it should say Xcode is not installed. Please run 'xcode install' to install a version.

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

No branches or pull requests

1 participant