Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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