Skip to content

Instantly share code, notes, and snippets.

@nacho4d
Last active December 13, 2015 22:19
Show Gist options
  • Save nacho4d/4983541 to your computer and use it in GitHub Desktop.
Save nacho4d/4983541 to your computer and use it in GitHub Desktop.
Check xcode-select is installed and get Xcode path
# Check xcode-select to check Xcode + Developer tools are installed
command -v xcode-select >/dev/null 2>&1 || { echo >&2 "Make sure Xcode together with xcode-select command is installed. Aborting."; exit 1; }
XCODE_PATH=$(xcode-select --print-path 2>&1)
echo $XCODE_PATH
@nacho4d
Copy link
Author

nacho4d commented Feb 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment