Description
Rosetta 2 allows computers with Apple Silicon (M1, M2, etc.) to run applications developed for Intel-based Macs. When an app requires Rosetta 2, users are prompted to install it upon first launch.
This article explains how to:
Automatically install Rosetta 2 during Automated Device Enrollment (ADE)
Deploy Rosetta 2 to existing enrolled Macs via Jamf School using an in-house application
Automatically Install Rosetta During Enrollment
We can enable Rosetta Installation in the Automated Device Enrollment profile.
Go to Jamf School > Profiles > Automated Device Enrollment Profiles.
Select your macOS ADE Profile.
Under the macOS Settings tab, scroll down to the bottom.
Check the option to Install Rosetta 2 automatically.
Click Save.
Install Rosetta on Existing Enrolled Macs Using an In-House App
To deploy Rosetta 2 to existing managed computers, create a payload-free .pkg using Composer with a post-install script.
Create a Payload-Free Package in Composer:
Open Composer.
Drag any file into Composer's sidebar to create a Source.
Click on the Source in Composer's sidebar.
Right-click on items in the main window and delete everything to make it payload-free.
Add the Post-install Script:
Click the > next to the Source name and right-click on Scripts.
Choose Add Shell Script and name it post-install.
Click post-install in the source column.
Replace the contents with the following script that checks if the computer is an Apple Silicon Mac before attempting the installation:
#!/bin/bash
arch=$(/usr/bin/arch)
if [ "$arch" == "arm64" ]; then
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
fi
Build the Package:
Click File> Save.
Ensure the Sign with box is checked under Composer > Settings/Prefrences.
Upload a valid Apple Developer certificate.
Click Build as PKG.
Upload the Package to Jamf School:
In Jamf School, go to In-House Content Distribution.
Upload the .pkg file.
Deploy the Package to Desired Devices:
Assign the PKG to the appropriate device groups.
Test on a small set of devices before deploying at scale.