I have some automation scripts which install Xcode, and for some reason accepting the license was not working there the way this is currently implemented. Luckily Xcode has a built-in way to do this via sudo xcodebuild -license accept.
I confirmed that this is working at least all the way back to Xcode 7.3:
I have some automation scripts which install Xcode, and for some reason accepting the license was not working there the way this is currently implemented. Luckily Xcode has a built-in way to do this via
sudo xcodebuild -license accept
.I confirmed that this is working at least all the way back to Xcode 7.3:
And then installing the latest Xcode 9.4 beta 2 using these changes: