Skip to content

Instantly share code, notes, and snippets.

View andybrucenet's full-sized avatar

Andrew Bruce andybrucenet

View GitHub Profile
@andybrucenet
andybrucenet / accept_xcode_license.sh
Last active December 13, 2017 18:55 — forked from ryanmaclean/accept_xcode_license.sh
Accept Xcode License on the Command Line
#!/usr/bin/expect
# Run using "sudo accept_xcode_license.sh"
#
# Solving the OSX Yosemite Xcode Command Line Tools Licensing problem
# for multiple updates in order to script post-install tasks.
# Typical error reads after running "xcode-select --install" when setting up
# Homebrew is: "Agreeing to the Xcode/iOS license requires admin priviledges,
# please re-run as root via sudo"
#
# Firdst - run: