xcpretty / xcode-install

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

Choose version when installing via url #445

Open EiyuuZack opened 2 years ago

EiyuuZack commented 2 years ago

Hello,

When installing Xcode via --url flag the version parameter does not seem to take any effect. For example:

xcversion install 13_beta_4 --url=<url_to_xcode_13_beta_4.xip> xcversion install "13 beta 5" --url=<url_to_xcode_13_beta_5.xip> xcversion install 13.0 --url=<url_to_xcode_13.xip>

When calling xcversion installed I expect to see:

13 beta 4   (/Applications/Xcode-13_beta_4.app)
13 beta 5   (/Applications/Xcode-13_beta_5.app)
13.0    (/Applications/Xcode-13.0.app)

But instead I get:

13.0    (/Applications/Xcode-13_beta_4.app)
13.0    (/Applications/Xcode-13_beta_5.app)
13.0    (/Applications/Xcode-13.0.app)

This makes it harder to manage the installations.

Is this a bug or intended behaviour?