Sunday, December 22, 2024

command line – Does `open –arch ARCH` engaged on the improper processor imply an ARM emulator is current for Intel machines operating macOS?

No, the binary is fats (accommodates a number of construct targets in an app wrapper) and the one code that may execute does. I’d argue that is the right habits for open, however I suppose affordable individuals may anticipate a strict interpretation and would relatively get an error than an app that might open, not opening.


You possibly can take a look at this out empirically by specifying every structure sequentially and operating sudo pattern PID 1 500|head -12 and verifying the Path, Identifier, Model and Code Sort is native or (translated) the place PID is the method ID of the app that you simply open.

On Apple silicon, –arch i386 runs on native ARM, –arch x86_64 is translated Intel code.

Evaluation of sampling Safari (pid 53256) each 500 milliseconds
Course of:         Safari [53256]
Path:            /System/Volumes/Preboot/Cryptexes/App/System/Purposes/Safari.app/Contents/MacOS/Safari
Load Tackle:    0x102800000
Identifier:      com.apple.Safari
Model:         18.1.1 (20619.2.8.11.12)
Construct Information:      Safari-7619002008011012~2
Code Sort:       ARM64E
Platform:        macOS
Mother or father Course of:  launchd [1]

Evaluation of sampling Safari (pid 53350) each 500 milliseconds
Course of:         Safari [53350]
Path:            /System/Volumes/Preboot/Cryptexes/App/System/Purposes/Safari.app/Contents/MacOS/Safari
Load Tackle:    0x1008ae000
Identifier:      com.apple.Safari
Model:         18.1.1 (20619.2.8.11.12)
Construct Information:      Safari-7619002008011012~2
Code Sort:       X86-64 (translated)
Platform:        macOS
Mother or father Course of:  launchd [1]

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles