When a version is already installed, xcversion treats trying to install it as an error.
In other words, it returns status code 1.
My use case is a standalone automated installation across a set of servers. If a version is already installed, then this script fails the whole process. This doesn't strike me as an "error" per se, and feel that xcode-install should simply skip that version instead.
When a version is already installed,
xcversion
treats trying to install it as an error.In other words, it returns status code
1
.My use case is a standalone automated installation across a set of servers. If a version is already installed, then this script fails the whole process. This doesn't strike me as an "error" per se, and feel that xcode-install should simply skip that version instead.