14

The IDE is giving an error message that it

can't start git: /usr/bin/git, however the path is correct, and it was working before. idea.log contains the following error:

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
StackFlowed
  • 6,664
  • 1
  • 29
  • 45
  • 1
    I've had the same error using Homebrew when downloading packages - I've added the `homebrew` tag. – nwinkler Sep 23 '15 at 06:25

1 Answers1

33

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.

StackFlowed
  • 6,664
  • 1
  • 29
  • 45