Bower ECMDERR fixed

One of my automated builds suddenly failed with an unusual error that says

ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/angular/bower-angular.git", exit code of #69   Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

As the error suggests, the quick fix is to re-Agree to the Xcode/iOS license and to do that, you need to run the following command:

sudo xcodebuild -license

Agree to the terms and conditions, and you should be good to go again.