Quick answer: “Bad CPU type in executable” means the binary contains no code for the Mac’s processor: an Intel-only (x86_64) build on Apple silicon without Rosetta, an Apple-silicon-only (arm64) build on an Intel Mac, or a 32-bit build on macOS 10.15 or later. Run lipo -archs on the executable and every library inside the app, then ship a universal build with both x86_64 and arm64. Players with an Intel-only game can install Rosetta, for now.
The message comes from the kernel, before a single instruction of your game runs. It looked inside the executable for a slice matching the machine’s CPU and did not find one. Players launching from Finder usually see a dialog instead of that sentence, and which dialog depends on which way round the mismatch is. Below are the forms it takes, the two commands that tell you what your build actually contains, how to produce a universal build in each engine, and why an Intel-only Mac game needs a plan now that Apple has put an end date on Rosetta.
- The forms this error takes
- What causes it
- How to see what your build contains
- Fix 1: ship a universal build
- Fix 2: make every plug-in and helper universal
- Fix 3: replace binaries that can never run
- Rosetta has an end date
- What to tell players
- How to confirm the fix
- Seeing which Macs your players use
- Related guides
- Frequently asked questions
The forms this error takes
Started from a shell, a script or another process, the launch fails with error 86 (EBADARCH), which shells print as:
zsh: bad CPU type in executable: ./MyGame
-bash: ./MyGame: Bad CPU type in executable
Double-clicked in Finder, the same mismatch is reported by a dialog. An Apple-silicon-only app on an Intel Mac gets one of these, depending on the macOS release:
You can’t open the application “MyGame” because it is not supported on this Mac.
You can’t open the application “MyGame” because this application is not supported on this Mac.
You can’t open the application “MyGame” because it is not supported on this type of Mac.
An Intel-only app on an Apple silicon Mac that has no Rosetta gets an offer to install it:
To open “MyGame”, you need to install Rosetta. Do you want to install it now?
And a 32-bit app on macOS 10.15 Catalina or later gets:
“MyGame” needs to be updated.
The developer of this app needs to update it to work with this version of macOS.
The Rosetta offer only appears for launches that go through Finder and the other user-level paths. A binary started from Terminal, or by your own launcher calling exec or posix_spawn, goes straight to the kernel and gets the bare “bad CPU type” error with no offer. That is why a game can open fine from Finder while its helper process fails silently.
What causes it
- An Intel-only build on an Apple silicon Mac without Rosetta. Every Mac sold since Apple finished its processor transition is Apple silicon, and Rosetta is not preinstalled. Older Unity projects still set to Intel 64-bit, old GameMaker exports and any build made with an
x86_64-only toolchain fall here. On managed Macs where IT blocks the Rosetta install, the player cannot fix it. - An Apple-silicon-only build on an Intel Mac. The mirror image, and it has no workaround: nothing translates
arm64code for an Intel processor. It happens when the build machine is an Apple silicon Mac and the engine or build script defaults to the host architecture. - A universal launcher with a single-architecture piece inside. The main executable has both slices but a native plug-in, a bundled dylib or a helper tool has one. A process cannot mix
arm64andx86_64code, so the game starts and then fails when it loads that piece. - A 32-bit build. macOS has not run
i386code since 10.15. Rosetta does not help; it translates 64-bit Intel code only. - A file that is not a Mac binary at all. A Windows
.exeor a Linux ELF copied intoContents/MacOSby a packaging script that picked the wrong build folder.
How to see what your build contains
Point file and lipo at the executable inside the bundle, not at the .app folder:
file MyGame.app/Contents/MacOS/MyGame
lipo -archs MyGame.app/Contents/MacOS/MyGame
What file prints | What it is | Runs on |
|---|---|---|
Mach-O universal binary with 2 architectures (lipo: x86_64 arm64) | Universal | Every current Mac, natively |
Mach-O 64-bit executable x86_64 | Intel only | Intel Macs; Apple silicon through Rosetta |
Mach-O 64-bit executable arm64 | Apple silicon only | Apple silicon Macs |
Mach-O executable i386 | 32-bit Intel | macOS 10.14 and earlier |
PE32+ executable or ELF 64-bit | A Windows or Linux binary | No Mac |
Then check everything else that holds machine code. This prints the architectures of every Mach-O file in the bundle, so the odd one out is easy to spot:
find MyGame.app -type f -exec sh -c \
'file -b "$1" | grep -q "Mach-O" && echo "$(lipo -archs "$1") $1"' _ {} \;
To see what the machine is, run uname -m: arm64 on Apple silicon, x86_64 on Intel. A Terminal that is itself running under Rosetta also answers x86_64, so on an Apple silicon Mac confirm with sysctl -n sysctl.proc_translated, which prints 1 in a translated process. For a game that is already running, Activity Monitor’s Kind column (add it under View > Columns) says Apple or Intel, and Finder’s Get Info shows Application (Intel), Application (Universal) or Application (Apple silicon), which is the check to give players.
When the main executable is fine and the game dies during startup, the cause is number 3. The loader’s message names the file:
mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')
Unity surfaces that as a DllNotFoundException, Godot as a failure to open the GDExtension library, and a hard dependency of the executable as a crash at launch whose report names the library. Where macOS stores those crash reports covers finding and reading them.
Fix 1: ship a universal build
A universal binary holds an x86_64 slice and an arm64 slice in one file, and macOS runs whichever is native. One download works on every Mac and needs no Rosetta. Where to turn it on:
| Engine | Where | Choose |
|---|---|---|
| Unity 6 | File > Build Profiles > macOS > Architecture | Intel 64-bit + Apple Silicon |
| Unity 2022 LTS | File > Build Settings > macOS > Architecture | Intel 64-bit + Apple Silicon |
| Godot 4 | macOS export preset, Binary Format > Architecture | universal. The official export templates are universal only. |
| Unreal Engine 5 | BuildCookRun command line | -specifiedarchitecture=arm64+x86_64 |
| Xcode project | Build Settings > Architectures | Standard Architectures, with Build Active Architecture Only set to No for release |
| CMake | Configure step | -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" |
Unreal accepts x86_64, arm64 or arm64+x86_64 for that flag. What a packaged build contains when you pass nothing has changed across 5.x releases and depends on the Mac doing the build, so check the result with lipo instead of assuming. The same goes for GameMaker: look at the macOS options for your runtime version, export, and run lipo -archs on the app before you trust it.
Current Unity 6 documentation marks Intel support for macOS players as deprecated and recommends Apple silicon for new builds. Until it is removed, the combined option remains the safest choice for a game with Intel players. Exporting a Unity game for macOS covers the rest of that build.
Fix 2: make every plug-in and helper universal
An engine can only produce a universal game if every native library you give it has both slices. Most maintained SDKs ship universal Mac libraries today; the problem is usually an old copy in the project or a library you compiled yourself on one machine. Build it once per architecture and merge the two files:
clang -dynamiclib plugin.c -o plugin_x86_64.dylib -target x86_64-apple-macos10.13
clang -dynamiclib plugin.c -o plugin_arm64.dylib -target arm64-apple-macos11
lipo -create -output libplugin.dylib plugin_x86_64.dylib plugin_arm64.dylib
lipo -archs libplugin.dylib # x86_64 arm64
In Unity, select the plug-in and set its macOS CPU in the Inspector’s platform settings to match what the file contains; two files with the same name for different architectures make a universal build fail, so prefer one merged library. In Godot, each GDExtension’s .gdextension file should point its macOS entries at a universal library. Helper executables you spawn (a crash handler, a video encoder, a launcher) need the same treatment, and remember they get no Rosetta offer when started with exec. If a vendor only offers one architecture, you have two honest options: drop the plug-in on Mac, or ship a single-architecture game and say so on the store page. Editing a signed app changes it, so re-sign after any lipo step.
Fix 3: replace binaries that can never run
Causes 4 and 5 are not architecture choices. A 32-bit game has to be rebuilt as 64-bit with a current engine version; there is no setting on the player’s Mac that brings i386 back. A Windows or Linux binary in Contents/MacOS is a packaging bug: fix the script so it copies from the macOS build output, and add the file check to the script so it fails when the main executable is not Mach-O.
Rosetta has an end date
For years the practical answer for an Intel-only game was that Rosetta would handle it. Apple has now put a limit on that. Its developer documentation says Rosetta “will be available through macOS 27” as “a general-purpose tool for Intel apps”, and that afterwards Apple will keep a subset of Rosetta “aimed at supporting older unmaintained gaming titles, that rely on Intel-based frameworks”. Apple’s support page puts it more bluntly: Intel-based apps will not work with macOS 28, apart from certain older, unmaintained games.
The warnings have already started. Since macOS 26.4, players can get a system notice when they open an app that depends on Rosetta, telling them it needs an update. macOS 26 was also the last release for Intel Macs, so the Intel audience now shrinks with every hardware replacement.
Apple has not published a list of which games the carve-out covers or how a game qualifies. A game you are still selling and patching is not obviously “unmaintained”, so do not plan around it. If your Mac build is Intel-only, a universal or Apple silicon build is the fix, and the notice your players see is the deadline reminder. Apple’s Rosetta documentation carries the current statement.
What to tell players
- Check which Mac you have: Apple menu > About This Mac. “Chip: Apple M…” is Apple silicon; “Processor: Intel” is an Intel Mac.
- On Apple silicon, if macOS offers to install Rosetta when you open the game, click Install. If the offer never appears, open Terminal, paste
softwareupdate --install-rosetta --agree-to-licenseand press Return, then open the game again. - On an Intel Mac, a message saying the game is not supported on this Mac means this download was built for Apple silicon only. Rosetta cannot help. Look for an Intel or universal download, or tell us and we will publish one.
- If the message says the game “needs to be updated”, it is an old 32-bit build that current macOS cannot run. Only a new build from us fixes it.
Be straight with players about item 2: it is a stopgap. The same Macs will stop running Intel-only games when Rosetta is withdrawn.
How to confirm the fix
Run the find loop from the diagnosis section on the final app: every line should read x86_64 arm64. Then test both slices. On an Apple silicon Mac, start the game normally and confirm Activity Monitor shows Apple; then force the Intel slice with arch -x86_64 MyGame.app/Contents/MacOS/MyGame, or tick Open using Rosetta in Get Info, and play far enough to load every plug-in. If you can borrow an Intel Mac, launch there too. Finally, try the build on an Apple silicon Mac that has never had Rosetta installed, which is the default state of a new machine. Because lipo merges and re-exports change the bundle, finish by signing and notarizing again; a build that skips that step trades this error for “Apple could not verify”.
Seeing which Macs your players use
When the kernel rejects the executable, no code of yours runs, so Bugnet cannot report that launch. Two nearby things it does capture. The first is cause 3: a universal game that starts and then fails to load an Intel-only plug-in raises an error inside the engine, and the Unity SDK files it automatically with the stack trace and recent log lines. The second is the decision itself: every report, automatic or player-written, carries the CPU and macOS version, so the dashboard shows how many of your Mac players are still on Intel before you choose whether to keep that slice. For the players who never get in, a known-issue entry on the project’s public tracker with the Rosetta command gives them something to find.
Related guides
- How to Fix “Apple could not verify your game is free of malware” on macOS
- How to Fix “is damaged and can’t be opened. You should move it to the Trash” for Your Mac Game
- How to Export a Unity Game for macOS
- Where macOS Stores Crash Reports for Your Game (.ips Files) and How to Read Them
- Why Error Tracking Matters for Apple Silicon Macs
Frequently asked questions
What does bad CPU type in executable mean on a Mac?
The file has no code for that Mac’s processor. Usually it is an Intel-only program on an Apple silicon Mac without Rosetta, an Apple-silicon-only program on an Intel Mac, or a 32-bit program on macOS 10.15 or later. The kernel refuses it before anything runs.
How do I check whether my Mac game is universal?
Run lipo -archs on the executable inside the app bundle, under Contents/MacOS. A universal build prints x86_64 arm64. Check every dylib, framework and plug-in in the bundle the same way, because one single-architecture library is enough to break a universal game.
Can players fix this error themselves?
Only in one direction. On Apple silicon, installing Rosetta with softwareupdate --install-rosetta lets an Intel-only game run. On an Intel Mac, an Apple-silicon-only game cannot be made to run, and a 32-bit game cannot run on any current macOS. Those need a new build.
How long will Rosetta keep Intel-only Mac games running?
Apple says Rosetta is available as a general-purpose tool through macOS 27. From macOS 28 it remains only for certain older, unmaintained games that rely on Intel frameworks. A game still being sold and updated should ship a universal or Apple silicon build.
Why does my universal game still fail to load a plug-in on Apple silicon?
A process cannot mix arm64 and x86_64 code. If the game runs natively as arm64 and a plug-in contains only x86_64 code, the loader refuses it with an incompatible architecture message. Rebuild the plug-in as universal or get a universal version from the vendor.
Run lipo -archs on every binary in the bundle, not only the main executable. The game is only as universal as its least universal plug-in.