XcodesOrg / xcodes

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

Support "~> 13.3" version formats #266

Open albintornqvist opened 1 year ago

albintornqvist commented 1 year ago

We have previously been using xcversion in our build scripts where we have been able to set the xcode version as e.g. '~> 13.3.0' and then get the latest Xcode version on the machine with version number 13.3.x (common version format for dependencies). This does not seem to work with xcodes, we get the following error:

Screenshot 2023-01-12 at 08 44 22

Although a matching version exists on the machine, it fails to select it.

Given that xcodes is advertised as the replacement for xcversion, it would be really nice to have this version format supported.

Please let me know if there's anything I have misunderstood or if there's any other way to do this.