Mailspring dlopen incompatible architecture: arm64 vs x86_64
Mailspring won't open and shows a better_sqlite3.node "have arm64, need x86_64" error. Learn what it means, how to check your copy, and what to try.
TroubleshootingUpdated 6 min read
On this page
You launched Mailspring and it won't start, or it crashes with this message:
mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')A report in July 2025 tied this to a Mailspring update on an Intel Mac. The text names better_sqlite3.node. People on Mailspring's community forum report that the case was resolved there, but we have not reproduced it. We also can't say which version fixed it, so the steps below are for diagnosing your copy.
Why it happens
better_sqlite3.node is a compiled add-on that Mailspring loads at startup to talk to its local mail database. "dlopen" is the macOS call that loads such a file. The call fails when the file's CPU architecture doesn't match the running process.
"Have arm64, need x86_64" means the file contains only Apple silicon code, while the app process is an Intel process. Apple's developer documentation says that on an Intel-based Mac computer, the system always executes the x86_64 slice of the binary. An arm64-only add-on has no slice the system can use, so loading it fails and the app stops.
Likely causes, most common first:
| Cause | Symptom | What to do |
|---|---|---|
| The release build shipped an arm64-only add-on inside an Intel or universal app | Started right after an update, on an Intel Mac | Install a newer build; report it if the file is still arm64-only |
| You installed the Apple silicon download on an Intel Mac | Fails on the first launch after install | Download the build that matches your Mac |
| An Intel-mode app on an Apple silicon Mac loads an arm64 add-on | Apple silicon Mac, app set to open with Rosetta | Turn off Open using Rosetta if present, or reinstall |
| A mixed-up install (new app copied over an old one) | Odd errors after dragging a new copy over the old one | Remove the app and reinstall cleanly |
Which of these applied in the July 2025 report is not something we can confirm.
Step-by-step fixes
1. Confirm which kind of Mac you have
- Click the Apple menu and choose About This Mac.
- Look for a Processor line or a Chip line.
Apple's support page says that on an Intel-based Mac, About This Mac shows an item labeled Processor, followed by the name of an Intel processor. On a Mac with Apple silicon, it shows an item labeled Chip.
2. Check what kind of app you installed
- In Finder, open Applications and click Mailspring once.
- Press Command-I (or choose File > Get Info).
- Read the Kind line.
Apple explains the values: "Application (Intel)" means the app is made for a Mac with an Intel processor. "Application (Universal)" means it is made for both Apple silicon and Intel Macs. "Application (Apple silicon)" is arm64-only, which cannot run on an Intel Mac at all.
If Kind says Apple silicon and your Mac is Intel, you downloaded the wrong build. Go to step 5.
3. Look inside the app for the add-on
This is read-only and changes nothing. It shows whether your copy really contains an arm64-only add-on.
Find the file:
bash find /Applications/Mailspring.app -name "better_sqlite3.node"This only searches; it doesn't modify anything. If Mailspring is installed somewhere else, change the path.
Inspect each path it prints (keep the quotes if the path contains spaces):
bash file "/path/printed/above/better_sqlite3.node"Read the result. On the Mach-O line, look for
arm64orx86_64.- Only
arm64on an Intel Mac: your build has the wrong add-on. Reinstalling the same download won't change that. x86_64is listed: this file isn't the cause. Check any other.nodefiles thefindcommand lists (swap the name in the command to*.node).
- Only
You can also run lipo -archs on the same path. It prints the architectures in the file, such as x86_64 arm64 for a universal one.
4. Quit cleanly and reinstall the app only
This is a general step. It is not a confirmed fix for this error.
- Quit Mailspring (Mailspring > Quit, or Command-Q). If it won't quit, use Force Quit from the Apple menu.
- In Applications, drag Mailspring to the Trash. Remove only the app. Don't delete its data folders unless Mailspring's own documentation tells you to.
- Empty the Trash if you want a fully clean copy. Skip this if you might need the old app.
- Download the latest build from Mailspring's official site, not from a mirror.
- Open the DMG, drag the app to Applications, and launch it from there.
- Repeat steps 2 and 3 above on the new copy.
5. Match the download to your Mac
If Mailspring offers separate downloads for Intel and Apple silicon, pick the one for your processor from step 1. A universal download should work on both. If you can't tell which is which, the Kind line in step 2 tells you what you ended up with.
6. Install a different version
If the latest build is broken and an earlier one worked, installing that earlier version is a reasonable workaround. Only download it from Mailspring's own site or release page. Because Mailspring auto-updates, it may try to update again. Check its preferences for an update setting and turn off automatic updates until a fixed build is out. The exact label may differ by version.
Checklist before you try again
- Your Mac type is confirmed in About This Mac (Processor means Intel, Chip means Apple silicon).
- Kind in the app's Info window matches your Mac.
fileonbetter_sqlite3.nodelists the architecture your Mac needs.- You downloaded the build from Mailspring's official site.
- You quit Mailspring fully before reinstalling.
If nothing works
If file shows an arm64-only add-on inside a build meant for Intel, the problem is in the release itself and only Mailspring's developers can fix it. Search Mailspring's community forum for the existing thread first and add your details there rather than opening a new one. Include:
- The exact error text.
- Your Mac's processor from About This Mac and your macOS version.
- The Mailspring version and where you downloaded it.
- Whether it began after an update.
- The output of
fileandlipo -archs.
Subject: Mailspring won't launch on Intel Mac: better_sqlite3.node arm64 vs x86_64
Mailspring fails to start with this error:
mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')
Mac: <model>, Intel <processor name>, macOS <version>
Mailspring version: <version>, downloaded from <source> on <date>
Get Info "Kind": <Intel / Universal / Apple silicon>
Output of: file "<path>/better_sqlite3.node"
<paste output here>
It started after: <update / fresh install>
Already tried: reinstalling the app, re-downloading from the official site.Reading mail in the meantime
Your provider's webmail works in any browser. Apple Mail is built into macOS and can read the same IMAP account. Neither touches your Mailspring data.
Common questions
Does this mean my Intel Mac is too old for Mailspring?
Not from this error alone. It describes a wrong-architecture file inside the app, not a hardware limit. Whether Mailspring still supports your macOS version is a separate question for its release notes.
Can I fix it by swapping in a different better_sqlite3.node?
We don't recommend it. A replacement has to match the exact Node or Electron version the app was built with, and editing files inside the app bundle can break its code signature. Use a corrected build instead.
Is it safe to delete Mailspring's data folder?
Only after copying it somewhere. The error is about the app binary, not your data, so you shouldn't need to delete the folder to fix it.
Will the same error hit other Electron apps?
It can, since many Electron apps ship compiled add-ons like this one. The same checks (Kind in Get Info, then file on the .node file) work for them.