The brew commands that are running are complete: "When you agree to an Xcode / iOS license, you need administrator privileges, restart as root via sudo."

This affects many other things, but in brew you can see a lot of things offering: "Consent to an Xcode / iOS license requires administrator rights, re-run as root through sudo.

Brew explicitly recommends that you not run it in sudo.

+6
source share
1 answer

running brew the doctor gave me helpful answers to this

If the software update is closed, you can agree to the license by opening Xcode.app, but I couldn’t ... so instead I ran:

sudo xcodebuild -license 

What if you scroll to the bottom of the page, you can enter “agree” and then you are good to go.

+13
source

Source: https://habr.com/ru/post/977076/


All Articles