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