Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo cannot run git after OS update [duplicate] Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo cannot run git after OS update [duplicate] xcode xcode

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo cannot run git after OS update [duplicate]


This generally occurs after the mac OS update. All you need to do in terminal is run

sudo xcodebuild -license

and then agree to the terms.