Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SystemInfo.MacMajorVersion

Returns the major Mac OS version number.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 2.8 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "SystemInfo.MacMajorVersion" )

Parameters

none

Result

The major version number.

Description

Returns the major Mac OS version number.
In macOS 10.4.17 this would be the decimal value 10.

On macOS Big Sur, this returns 11 and on macOS Monterey this returns 12.
Older versions of FileMaker (e.g. version 18) will only run in compatibility mode on newer macOS version and may only see 10.16 as version.

Changed to return Ubuntu version on Linux for v13.5.

Examples

Shows Mac OS Version:

Show Custom Dialog ["OS Version"; MBS( "SystemInfo.MacMajorVersion" ) & "." & MBS( "SystemInfo.MacMinorVersion" ) & "." & MBS( "SystemInfo.MacBugFixVersion" ) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 19th October 2023


SystemInfo.MacHasHardwareAcceleratedCoreImage - SystemInfo.MacMinorVersion