I forget where I pulled the script from and the Loop section from but it works in an agile way so it's version agnostic, yet to test extensively on Catalina. I re-wrote it with the For Loop as the PKGs inside the App changed each year, this way it just does the lot without needing a re-write each version. dseditgroup -o edit -a everyone -t group _developer # Make all users members of the builtin _developer group # This part enables Developer Mode for programming with Xcode and elevates all user privileges usr/sbin/installer -dumplog -verbose -pkg "$" -target /Įcho ".Xcode components installer finished." # Replaced installer commands with for loop to make this generic as xcode updates, confirmed as working on 10.3 06-07-19Ĭd /Applications/Xcode.app/Contents/Developer/usr/bin/Įcho "Installing Xcode additional components."Ĭd /Applications/Xcode.app/Contents/Resources/Packages/įor PKG in $(find /Applications/Xcode.app/Contents/Resources/Packages -name "*.pkg") do # Re-written to remove DS environment variables so this will work as a standalone script # This script sets up and installs additional components for Xcode to prevent popups on first run for the user, then enables Developer Mode." Policy runs the following script on the Xcode group: #!/bin/sh Next I have a Smart Group: Populated by all Macs with Xcode installed (Criteria: App Has "Xcode') Xcode installs from VPP via a Forced install for labs that require it or from Self Service for all other users. Sometime it works and my users have no admin prompt to install mobile pkg Other times they are faced with the admin promote to install the mobile pkg. I think I need to figure out how to lock down iPad app updates, maybe just for Xcode, so that they don't get the version out of sync until I can get Xcode managed and automatically updated on the Macs.Ĭommand Line Tools for Xcode is installed as part of a package that requires it for log on auditing, the version installed is based on a per OS Smart Group and policy (10.13, 10.14, 10.15 etc.) using a common custom trigger. Hi all- ever since xcode 11.x.x I have been having issues with multiple installs of xcode installed on a machine. CrowdStrike Falcon is a next-generation anti-virus. The other issue I'm having is impatient teachers, but I don't think you guys have an easy fix for those. Another way to install Rosetta 2 on the Mac is by using the familiar softwareupdate command line tool. I found out our caching server is full so we're working on that which will hopefully help once one download goes through correctly. The issue I'm currently running into is when installing Xcode this way through Self Service it is taking a long time on every computer, but the license seems to be available correctly. I believe this is the correct way to deploy free apps from the Mac App Store to the computers. Under the VPP tab there is a checkbox for 'Assign VPP Content Assign VPP content to computers with macOS 10.11 or later" that I just saw the other day which allows free apps to be assigned to computers and not users. Then in JSS, I went into the "Mac App Store Apps" option to add Xcode. I logged into the VPP store and got licenses for Xcode. So for future record if anyone else is running into the same issue: Finally having some time to sit down and mess with this some more. Library/Management/erase-install/erase-install.Sorry for the late replies. MacOS to jump from 13.X to 13.2.0 (Current) Library/Management/erase-install/erase-install.sh -os 12 -update -reinstall -confirm MacOS to jump from 12.X to 12.6.3 (Current) Library/Management/erase-install/erase-install.sh -os 11 -update -reinstall -confirm MacOS to Jump from 11.X to 11.7.3 (Current) 11.1 to 11.7.3 / 12.3.0 to 12.6.3 / 13.0 to 13.2) what is the best practice command for Erase-Install that you can suggest? I would assume its something like the following: Question #2: When wanting to upgrade the macOS to the latest of the same macOS (i.e. I assume just make a smart group and manually add in all device types prior to compatible versions, but that sounds horrid ) my Test Device installed Monterey without issue, but couldn't install Ventura). Question #1: What is the best way to filter out Macs that are not compatible with the newer macOS? (i.e. Of course now I have some follow up questions: I am currently kicking the tires on "Erase-Install" at the moment and so far so good.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |