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