xcpretty / xcode-install

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

xcversion install without explicit version (using .xcode-version) fails #421

Closed rogerluan closed 3 years ago

rogerluan commented 3 years ago

If you have a .xcode-version with e.g. "12.4", running xcversion install doesn't identify the version correctly, meaning that if you already have Xcode 12.4 installed, it will attempt to install again anyway.

However if you pass the argument explicitly xcversion install 12.4, it will identify you already have it installed and skip installation accordingly.

rogerluan commented 3 years ago

Ok I found the problem, I'll open a PR soon