Potential issue with specifying OS version for macOS 11+
Closed this issue · 3 comments
If you intend to deploy the 'Install macOS Big Sur.app' which is now installing macOS 11.2.1 (Installer app version 16.4.06), then you would need to specify 11.2 as version, because the logic in the script will return 11.2, not 11.2.1.
Output when specifying 11.2.1
Script result: installerVersion 11.2.1
installerVersion_Full_Integer 110201
installerVersion_Major_Integer 1102
This might affect future macOS versions
Unfortunately the problem is that Apple didn't increment the DTPlatformVersion value in the macOS 11.2.1 installer's /Contents/Info.plist file. The new installer still has 11.2 when they should have changed it to 11.2.1
I've just kept my installerVersion variable to 11.2 even though I'm installing 11.2.1 until Apple fixes it
The Big Sur 11.3.1 installer also lists 11.3 as the DTPlatformVersion
At this point I think it's safe to say this will be the norm. If you want a specific patch version the script needs to be changed for that target. Otherwise you must use the major.minor format