Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
xcode munki postinstall
# enable developer mode
/usr/sbin/DevToolsSecurity -enable
# make sure all users on this machine are members of the _developer group
/usr/sbin/dseditgroup -o edit -t group -a everyone _developer
# accept Xcode license
/Applications/ -license accept
# install embedded packages
for PKG in `/bin/ls /Applications/*.pkg` ; do
/usr/sbin/installer -pkg "$PKG" -target /
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.