Export to GitHub

git-osx-installer - issue #99

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


Posted on Oct 10, 2014 by Helpful Dog

What steps will reproduce the problem? 1. I am an amateur, I have installed and tried it successfully 2 months ago 2. I believed I updated the Xcode to Xcode6-beta3 in the mean time 3. recently, when I go to "terminal" and type "git" to get the following result

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

What is the expected output? What do you see instead?

And I don't know how to set "sudo" to admin or root account with right password. I don't set the password for Mac admin, and the user name I set on Mac is only one and that Mac user account does not have user password, tpp.

What version of the product are you using? On what operating system? MacOS X 10.9.5 Terminal 2.4 (326) Xcode6 beta 3 (if related)

Please provide any additional information below.

Comment #1

Posted on Oct 10, 2014 by Helpful Dog

I solved it by re-open Xcode and accept the license agreement of Xcode.

Comment #2

Posted on Mar 16, 2015 by Happy Horse

Thanks so much! opening Xcode and accepting solved it for me as well!

Status: New