xcodemacosmacos-big-surapple-m1apple-silicon

Is there an option to toggle "Open using Rosetta" value for a specific app using Terminal?


I'm really tired of checking this option manually for Xcode, which I cannot duplicate due to its size... maybe there is a way to create some kind of shortcut to launch an app (Xcode in my case) with the specific value of "Open using Rosetta"?

Note: this question relates only to Apple Silicon Macs.

Example of the "Open using Rosetta" option in Finder: enter image description here


Solution

  • LaunchServices are keeping track.

    See ~/Library/Preferences/com.apple.LaunchServices/com.apple.LaunchServices.plist: Architectures for arm64 dictionary.