We are deploying Xcode as a Mac App (VPP). Apparently after updates it is requiring admin creds to accept the End User License Agreement.
I am stumped on how to fix this one. There’s not much I think we can do with Mac Apps.
-Pat
We are deploying Xcode as a Mac App (VPP). Apparently after updates it is requiring admin creds to accept the End User License Agreement.
I am stumped on how to fix this one. There’s not much I think we can do with Mac Apps.
-Pat
Best answer by Josh-Q
#!/bin/bash
# select Xcode
xcode-select -s "/Applications/Xcode.app"
# accept license
/usr/bin/xcodebuild -license accept
# install additional components
/usr/bin/xcodebuild -runFirstLaunch
# add everyone (every local account) to developer group
dseditgroup -o edit -a everyone -t group _developerIf you want a more automated process, I recently stumbled upon an article from the folks at Workbrew detailing how you can address this via a recurring policy in Jamf:
https://workbrew.com/blog/homebrew-xcode-license-management
Regardless of which route you go, having it done via a Jamf policy ensures that it is run as root, so your users themselves don’t need admin rights.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.