xcode for mac download code example Example 1: list xcode version on mac xcodebuild -version Example 2: xcode only if this was on windows :(