L.W.I.F.

Look What I Found -- a place for stuff I want to share, and stuff I want to be able to find again later.

Agreeing to the Xcode license from the command line.

tomhennigan:

Got the following error after updating Xcode for iOS 7 this morning:

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Running sudo xcrun cc should bring up the cli version of the Xcode license agreement. Another option is to open Xcode.app and agree in the GUI.