Skip to content

Instantly share code, notes, and snippets.

@n0ts
Created October 23, 2015 07:14
Show Gist options
  • Save n0ts/d20ed6a6bb9464914991 to your computer and use it in GitHub Desktop.
Save n0ts/d20ed6a6bb9464914991 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ ! -x "/usr/bin/xcodebuild" ]; then
echo "Could not found /usr/bin/xcodebuild"
exit 1
fi
# XCode license agreement
sudo /usr/bin/xcodebuild -license
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment