NONNATIVE Mac OS
NONNATIVE Mac OS
As was announced at WWDC 2020, Apple will be releasing Macs later this year running on Apple Silicon based on the ARM64 architecture. This transition will hopefully have us running universal applications but also possibly forced to run some intel only apps transcoded through Rosetta 2, depending on vendor support. As a mac admin it might be handy to know how to discover what applications on your systems don’t have a version compiled for ARM (or intel 64 bit for that matter).
This (very) simple script will go though all applications system_profiler
knows about and report if the application binaries have no match for the current system architecture:
Booting an OS X from the target drive makes GPT the preferred option. Those who wish to start OS X (PPC) from the target hard drive must stop on APT. In case a user wants to boot Linux, Windows or another non-native operating system on Apple computer, it is important to pick MBR. If a Mac owner applies BootCamp or rEFI, a GTP is a choice once. The printer is not seen by the Qt Application on Mac OS 10.13 (prod envrionnement) but it see in the dev environment (Mac OS 10.10). Also, I can print document from other application on the Mac OS 10.13.
uname -m
tells us the current system architecturemdls -raw -name kMDItemExecutableArchitectures /some/file.app
tells us the architecture(s) that the app is compiled for which could be ppc
, i386
, x86_64
or arm64
Sample output from the future might look something like this:
You could use this as a basis for your own scripts or to perhaps instead check for apps that do match the host architecture or have multiple architectures (aka universal binaries).
Nonnative Mac Os Update
Happy scripting.
NONNATIVE Mac OS