mac os use terminal to check xcode version code example Example: check xcode version on mac terminal /usr/bin/xcodebuild -version