McCode icon indicating copy to clipboard operation
McCode copied to clipboard

Recent macOS and M1 processor: Prompts to download Rosetta

Open willend opened this issue 3 years ago • 1 comments

When installing on a fresh installation of macOS on M1/Silicon, the system will detect the McCode.app as being an "Intel" app and request download of Rosetta.

Internally, the app ensures use of an Arm Python etc., so there is no performance hit. But we should prepare for a future without Intel support.

willend avatar Feb 10 '22 12:02 willend

It seems that by

  1. Adding
    <key>LSArchitecturePriority</key>
    <array>
        <string>arm64</string>
    </array>

(as suggested via https://stackoverflow.com/questions/68199148/application-reports-different-architecture-depending-on-launch-method)

  1. Signing the app

The app is finally considered "arm64" on Silicon

willend avatar Apr 06 '22 13:04 willend