xcpretty / xcode-install

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

Use the `Info.plist` instead of the `xcodebuild` command to detect Xcode version #273

Closed KrauseFx closed 3 years ago

KrauseFx commented 6 years ago

Currently we run a command to get the version of a specific Xcode installation. It's a lot faster to just parse and read the Info.plist inside the Xcode.app bundle instead 👍

I just wanted to write down my thoughts, I'm not implementing this currently

timsutton commented 6 years ago

I was looking at the code recently too and was surprised that it did this. Guessing the info plist will have the same consistency of output.

KrauseFx commented 6 years ago

version.plist would be even better, that also has the build number (not sure if we need it for xcode-install)