Toggle "Open using Rosetta' via Terminal

Hi!
Could you please give a hint whether there is an option to toggle "Open using Rosetta" for a specific application (in my case it is Xcode) via Terminal ?
From what I could see so far, this option doesn't belong to extended file attributes..

Accepted Reply

Okay, see the "Architectures for arm64" dict inside the plist file I mentioned.

Replies

I believe LaunchServices is keeping track. So there will be some clues either in sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -dump output and/or entries in ~/Library/Preferences/com.apple.LaunchServices/com.apple.LaunchServices.plist.
Okay, see the "Architectures for arm64" dict inside the plist file I mentioned.
Thank you!
Did you manage to change the architecture via command line?

Did you manage to change it via commandline? Please post the command here if you succeeded.