Xcode/iOS license

Solved: git status failed with code 69 error when opening SourceTree in Mac OS X

If you receive the following error when opening SourceTree or other applications installed in your Mac OS X, then here is how you can solve it. Sometimes people make things more cryptic than it needs to be. Error encountered ‘git status’ failed with code 69:’ Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. and here is the example of the screenshot: Solution: What that message is telling you is that you need to open the application XCode on your Mac OS X and since it hasn’t run since the last update, you need to accept the new license EULA agreement that’s part of the updated XCode.