xcpretty / xcode-install

🔽 Install and update your Xcodes
https://fastlane.tools
MIT License
2.59k stars 243 forks source link

Install fails if a version exists already #292

Closed ebridges closed 6 years ago

ebridges commented 6 years ago

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.