Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

sudo xcodebuild -license accept

Google actually autocompleted “in the terminal” when I started typing out the question and this was answered by the first link.

I have tons of development environment software installed and I’ve never opened the Xcode GUI.



This was not the case in 2015/14. These stack overflow answers easily confirm that you needed to open it at least once, and that there have been related bugs in that time: https://apple.stackexchange.com/questions/175069/how-to-acce...

Good they fixed it. Still made a bad impression on me back then coming from using Linux for over a decade.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: