Skip to main content
Question

Xcode via mac apps hit and miss

  • April 23, 2026
  • 3 replies
  • 27 views

Can get some help with Packaging Xcode. 
We currently use Mac apps but it a hit and miss. 
I will like some help on the best practice to packaging and maintaining this app.
 

3 replies

angryant
Forum|alt.badge.img+5
  • Contributor
  • April 23, 2026

Jamf have a made a guide here: Deploying Xcode on managed devices

we use a VPP token.


Chubs
Forum|alt.badge.img+24
  • Jamf Heroes
  • April 23, 2026

Install Xcode via the App Store installer in JAMF.  That’s the best way.

If you’re putting it on devices where users don’t have admin creds to agree to the TOS, then you can use something like this to get around it:

#############################
# Users to dev group #
#############################
/usr/sbin/dseditgroup -o edit -a everyone -t group _developer

#############################
# Enable developer mode #
#############################
/usr/sbin/DevToolsSecurity -enable

#############################
# Accept Xcode license #
#############################
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license accept

 


thebrucecarter
Forum|alt.badge.img+16

That’s what we do (@Chubs).  You need a good solid network connection, because Xcode is freakin’ huge.  If it croaks in the middle, it’s just a trail of tears...