Accept XCode License

When I try to update my certificates, there's a warning about me having to accept xcode new terms and license agreement.


I accepted when I upgraded to latest version. I alos tried running sudo xcodebuild -license and sudo xcodebuild -license accept from the terminal, but it is still not working.


I tried uninstalling xcode and installing again, but it didn't work. What can I do?

  • Thanks a lot... Was facing this difficulty very often

Add a Comment

Replies

Does that mean you're not presented with the opportunity to agree, or it works, but you still get the new terms admonition when updating certs?


Try this...


sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

sudo xcodebuild -license


That should then dump the license text to the terminal...use the space bar to move thru until you see the prompt to enter agree.


Still no joy, visit the Member Center/Account, and iTunes Connect, Tax/Agreements/Banking to confirm nothing needs agree there.

Post not yet marked as solved Up vote reply of KMT Down vote reply of KMT
Add a Comment

Aceito

Não entendi nada

I agree

Agree