xcode mac code example
Example 1: list xcode version on mac
xcodebuild -version
Example 2: xcode path mac
xcode-select --print-path
Example 3: xcode
only if this was on windows :(
xcodebuild -version
xcode-select --print-path
only if this was on windows :(