This script handles the post-installation requirements for Apple's Xcode IDE. Because Xcode is a massive application (~12GB) distributed via the Mac App Store, it is deployed natively via Intune VPP (Volume Purchase Program), not Installomator.
- Detection: Verifies if
/Applications/Xcode.appexists (indicating the VPP installation finished). - Remediation: If Xcode is installed but hasn't been initialized, this script accepts the EULA silently and installs the mandatory first-launch components (
xcodebuild -runFirstLaunch), preventing the user from needing Admin rights to start coding.
- Upload script:
setup-xcode.sh - Run script as signed-in user: No (Requires root to accept EULA and install components)