"Agreeing to the Xcode/iOS License Requires Admin Privileges, Please Re-Run as Root via Sudo." When Using Gcc

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

Open up Xcode, and accept the new user agreement. This was happening because a new version of Xcode was downloaded and the new agreement was not accepted.

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

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.

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

After updating all mac port programs git works again. I do not understand the downvotes, in my opinion this information may save time for others.

sudo xcodebuild -license fails to cure recurring xcode license prompt

I had the same issue — it turned out that /Library/Preferences/ was not readable/writable.

Go to /Library/ and change the Preferences folder permissions for your user to Read & Write.



Related Topics



Leave a reply



Submit