Open ChaosCoder opened 1 year ago
I see that the latest caching commits have produced a lot of conflicts with this PR. I would rebase it, if you see, that this PR could be accepted after doing so. So I will wait for your input here.
@ChaosCoder absolutely would accept this pr for installing via build number. Thanks!
Xcode has build identifiers that identify a version uniquely. When using
xcodes list
the following Xcode build identifiers, which are rendered in paranthesis (e.g.14A30
) are available:This PR adds the possibility to install a version of Xcode by specifying the build identifier, which can easily be copied from most terminals by double clicking the identifier, copying it and then typing
xcodes install --build
and pasting the identifier:Out of scope of this PR: I would have liked to match the build identifier without specifying the
--build
flag, but as xcodes heavily relies on semantic versioning this would have been a much more complex change in the current code base. However, by introducing this purely additive flag, we could leverage this later to do include the build identifier when fuzzy searching the Xcode version.