Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is the xcode license being accepted? #13

Open
mwilkes-lark opened this issue Mar 10, 2023 · 1 comment
Open

where is the xcode license being accepted? #13

mwilkes-lark opened this issue Mar 10, 2023 · 1 comment

Comments

@mwilkes-lark
Copy link

I'm using the InstallHomebrew.zsh and notice that it does not provide xcode license acceptance. Do you have a snippet somewhere that does that?

In particular, I've got an installer that checks for homebrew being present, but failed with this error:

Error: You have not agreed to the Xcode license. Please resolve this by running: sudo xcodebuild -license accept

Is this a per user license acceptance or can I run this as the kandji root-level user and accept the license for all users on the device?

Thanks!

--Mike

@captam3rica
Copy link
Contributor

Hi @mwilkes-lark, in this context the xcode cli tools are being installed using softwareupdate; there should not be a need to explicitly accept xcode licensing.

There is an audit script here that can be used to check for the presence of brew on a Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants