Error: Agreeing to the Xcode/iOS license requires admin privileges

  • KM03084479
  • 01-Feb-2018
  • 01-Feb-2018

Summary

HPMCEnabler tool not working properly due Xcode license term

Error

Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

Cause

It is caused by Xcode license agreement, pending acept is not allowing to HPMCEnabler works properly

Fix

Solution:
 
Just go to MAC machine open Xcode and accept the license terms and run HPMC Enabler again