testdiff2/SpiriQGC/tools/get_xcode_version.sh

4 lines
71 B
Bash

#!/bin/bash
xcodebuild -version 2>&1 | (head -n1) | awk '{print $2}'