We download the Installer .pkg from the Developer page here:
https://developer.apple.com/download/all
And push it out via a Policy.
I do the same as @awoodbury, since it's free to set up a basic Apple developer account that has access to all the downloads for Xcode, command line tools and others.
We download the Installer .pkg from the Developer page here:
https://developer.apple.com/download/all
And push it out via a Policy.
We are installing XCode using the Mac Apps (i.e. VPP) to keep it updated automatically. Have you found problems with compatibility by deploying the CLTs manually?
We are installing XCode using the Mac Apps (i.e. VPP) to keep it updated automatically. Have you found problems with compatibility by deploying the CLTs manually?
@atrystan Hmm...fast forward two years, not sure if this is a recent change.
Command Line Tools are now updated via Apple Software Update.
Looks like if it is installed it'll be kept updated there. #questionmark

I do the same as @awoodbury, since it's free to set up a basic Apple developer account that has access to all the downloads for Xcode, command line tools and others.
The problem is that Apple has made it so that only admins can launch Xcode now since they assume that only admins should be able to run a debugger. Specifically, non-admins are prevented from accepting the license agreement. In the end, we discovered that you can use the App Store Apps to get Xcode installed on the device during enrollment and then add an item in Self Service that does this as root:
xcodebuild -license accept
xcodebuild -runFirstLaunch
Once you do that, regular users can install and launch them.
@atrystan Hmm...fast forward two years, not sure if this is a recent change.
Command Line Tools are now updated via Apple Software Update.
Looks like if it is installed it'll be kept updated there. #questionmark

This is also my experience. The change has also made it so that only admins can accept the license agreement on launch. As a result, it is necessary to accept terms and conditions as a root user during install.
In the end, we discovered that you can use the App Store Apps to get Xcode installed on the device during enrollment and then add an item in Self Service that does this as root:
xcodebuild -license accept
xcodebuild -runFirstLaunch
Once you do that, regular users can install and launch them.