SystemInfo.MacMajorVersion
--------------------------

Returns the major Mac OS version number.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SystemInfo](component_SystemInfo.md) | [2.8](newinversion28.md) | ✅ 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" ) &amp; "." &amp; MBS ( "[SystemInfo.MacMinorVersion](SystemInfoMacMinorVersion.md)" ) &amp; "." &amp; MBS ( "[SystemInfo.MacBugFixVersion](SystemInfoMacBugFixVersion.md)" ) \]  
### See also

- [SystemInfo.MacBugFixVersion](SystemInfoMacBugFixVersion.md)
- [SystemInfo.MacMinorVersion](SystemInfoMacMinorVersion.md)
- [SystemInfo.MacROMBootVersion](SystemInfoMacROMBootVersion.md)
- [SystemInfo.WinMajorVersion](SystemInfoWinMajorVersion.md)
- [SystemInfo.WinMinorVersion](SystemInfoWinMinorVersion.md)

### Release notes

- **Version 13.5**
    - Improved [SystemInfo.OSVersionString](https://www.mbsplugins.eu/SystemInfoOSVersionString.shtml), [SystemInfo.MacMajorVersion](https://www.mbsplugins.eu/SystemInfoMacMajorVersion.shtml) and [SystemInfo.MacMinorVersion](https://www.mbsplugins.eu/SystemInfoMacMinorVersion.shtml) to return Ubuntu version on Linux.

### Blog Entries

- [MBS FileMaker Plugin, version 13.5pr5](https://www.mbsplugins.de/archive/2023-10-19/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[SystemInfo.MacHasHardwareAcceleratedCoreImage](SystemInfoMacHasHardwareAcceleratedCoreImage.md) - [SystemInfo.MacMemoryHostStatistics](SystemInfoMacMemoryHostStatistics.md)

[HTML Version](SystemInfoMacMajorVersion.shtml)