Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Queries Macho Architecture Info.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SystemInfo | 10.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
none
Returns JSON or error.
Query it on macOS with recent Intel MacBook Pro:
MBS("SystemInfo.MachoArchInfo")
Example result:
{
"byteorder" : 1,
"cpusubtype" : 8,
"description" : "Intel x86-64h Haswell",
"name" : "x86_64h",
"cputype" : 7
}
Query it on macOS in Rosetta 2 on an Apple Silicon Mac:
MBS("SystemInfo.MachoArchInfo")
Example result:
{
"byteorder" : 1,
"cpusubtype" : 4,
"description" : "Intel 80486",
"name" : "i486",
"cputype" : 7
}
This function is free to use.
Created 12nd November 2020, last changed 28th January 2023