Agree to Xcode licence…

Recently whilst trying to deploy a project with git, the command would fail/error and print out, “Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.”

Apparently Xcode had updated and I had to either… open Xcode and manually agree to the licence or in terminal type, `sudo xcodebuild -license`. That meant my local git would run again and I could one click deploy that bad-ass.

I’m not entirely sure why Xcode has anything to do with my git repos, however, it works for the time being. HTH !

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s