how to check what version of xcode you have running code example Example: check xcode version on mac terminal /usr/bin/xcodebuild -version