Roseatta install popup not coming when app is launched by terminal or via NSTask.

Rosetta 2 is not installed by default, you are prompted to install it for the first run of an x64 app - but only in the gui.

If you run an x64 app from the command line, directly or prefixed with arch -arch x86_64, it will simply fail. You have to double-click an x64 .app bundle in the Finder to trigger the "Would you like to install Rosetta?" popup.

Is there any way/API available to launch intel app/binary via terminal/NStask so that OS can show popup instead of launch failing. If not, any cmd available to show rosetta pop?

I have the same problem. Calling a intel binary from a silicon app with NSTask doesn’t trigger automatic install of Rosetta. Once installed calling into Rosetta from silicone like this works fine.

It should be installed with OS or it should do at least one of:

Auto install however an intel binary is launched.A require option in app plist that does install if missing.A system call to do install available programmatically.

I can use utility app to trigger install but that’s nasty.

P

Roseatta install popup not coming when app is launched by terminal or via NSTask.
 
 
Q