XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.58k stars 119 forks source link

Improve error message when using `xcodes select` without Xcode installed #351

Open ngimelliUW opened 4 months ago

ngimelliUW commented 4 months ago

Summary This PR improves the error message given when running xcodes select without any Xcode version installed.

Previously, the error message was: "Not a valid number. Expecting a whole number between 1-0", but ____ was given. Now, if no Xcode is installed, it will say No Xcode version installed. Please run 'xcodes install' and try again

Screenshots

Before After
ngimelliUW commented 3 months ago

@MattKiazyk 👀