XcodesOrg / xcodes

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

Always respect select flag during install #310

Closed DylanBettermannDD closed 7 months ago

DylanBettermannDD commented 1 year ago

Resolves https://github.com/XcodesOrg/xcodes/issues/236

If the specified version of Xcode was already installed, the --select flag was only respected in the variant that passed a version number. xcodes install 14.3.1 --select

This PR fixes the --select flag for the other install cases. xcodes install --select xcodes install --latest --select xcodes install --latest-prerelease --select

DylanBettermannDD commented 1 year ago

Hey @MattKiazyk - don't mean to bother. Anything I can do on this PR to make review process easier for you?

MattKiazyk commented 7 months ago

Thanks @DylanBettermannDD for the work!