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