testdiff2/tools/get_xcode_version.sh

4 lines
71 B
Bash
Raw Normal View History

2023-12-06 13:51:14 -04:00
#!/bin/bash
xcodebuild -version 2>&1 | (head -n1) | awk '{print $2}'