Find the product version and build information of an OS X installer #
The hard way:
- Right click the install app and click "Show Package Contents"
- Navigate to Contents/SharedSupport and double click InstallESD.dmg (will mount at /Volumes/Mac\ OS\ X\ Install\ ESD/)
- (OS X 10.7 & 10.8):
- Search /Volumes/Mac\ OS\ X\ Install\ ESD/System/Library/CoreServices/SystemVersion.plist for ProductBuildVersion and ProductVersion
- (OS X 10.9 - 10.11):
- $ open /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg (will mount the hidden BaseSystem.dmg to /Volumes/OS\ X\ Base\ System)
- Search OS\ X\ Base\ System/System/Library/CoreServices/SystemVersion.plist for ProductBuildVersion and ProductVersion
The easy way, thanks to Johann N. Löfflmann.
UPDATE: Johann has an updated version of his script on GitHub: osxapp_vers (local cache).
/mac | Jul 01, 2016
Subscribe or visit the archives.