Legacy Dev Forum Posts

 View Only

Sign Up

Bad CPU Type in executable error on M2

  • 1.  Bad CPU Type in executable error on M2

    Posted 06-05-2025 19:04

    Rusty_Lockett | 2024-08-22 14:24:24 UTC | #1

    New install. Any thoughts?


    jon.vansteen | 2024-08-22 14:54:25 UTC | #2

    Hi @Rusty_Lockett,

    Could you share any of the output you got?

    Thanks, Jon


    Rusty_Lockett | 2024-08-22 14:56:24 UTC | #3

    ./archy: line 11: ./archyBin/archy-macos-2.28.1: Bad CPU type in executable


    jon.vansteen | 2024-08-22 15:11:31 UTC | #4

    Thanks for that. I did a quick google and found this post: https://medium.com/@jithmisha/fix-for-macbook-air-m1-m2-bad-cpu-type-in-executable-error-3719a0a1cb6

    On there I see it says: However, the terminal doesn’t automatically detect that Rosetta is missing. Instead, it will give you the error Bad CPU Type in Executable. So, this is the cue for you to install Rosetta 2.

    Perhaps Rosetta 2 is not installed yet on your machine. From that same article it says /usr/sbin/softwareupdate --install-rosetta --agree-to-license. Maybe give that a try and see if it works! Or alternatively try to launch a non-native apple silicon app to get the prompt to install it.

    Let me know if that solves the problem!

    Thanks, Jon


    Rusty_Lockett | 2024-08-22 15:17:24 UTC | #5

    jon.vansteen, post:4, topic:28094
    /usr/sbin/softwareupdate --install-rosetta --agree-to-license

    That worked. Somehow I thought it was already installed as I saw it listed in the system settings. Maybe just not activated. Thanks!


    jon.vansteen | 2024-08-22 15:43:48 UTC | #6

    No problem! Glad its working now :+1:


    system | 2024-09-21 15:44:25 UTC | #7

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 28094