Releases: johnfkoo951/CmdMD
Release list
v1.4.8
✅ The launch / editor crash is actually fixed now
Update to 1.4.8. If you're on 1.4.6 or 1.4.7, the app still crashes — please replace it with this build.
What was wrong
CmdMD crashed with EXC_BREAKPOINT (SIGTRAP) the moment a code-block editor rendered — opening a .md with a fenced code block in Source/Split, or restoring a window that had one. 1.4.6 was missing the syntax‑highlighting resource bundle entirely. 1.4.7 shipped the bundle but in the wrong place for how it's looked up, so it kept crashing on users' machines (it only appeared fixed on the build machine).
The real fix
Highlightr's generated Bundle.module resolver only checks the .app root (where code signing forbids resources) and a build‑time path that doesn't exist on your Mac — never Contents/Resources. 1.4.8 repoints that lookup to the bundle's real shipped location before signing, so highlighting loads correctly.
Thanks to @VoidLight00 for diagnosing why 1.4.7 was insufficient and contributing the fix (#2).
Verified
Installed this exact released DMG to /Applications, opened a Swift code block in Split view: no crash, no crash report, and syntax colors render (proof the bundle actually loaded). swift test → 57 passing.
Install note: drag
CmdMD.appto /Applications (the build resolves its resources from there). First launch: right‑click → Open, orxattr -dr com.apple.quarantine /Applications/CmdMD.app.
Supersedes 1.4.6 and 1.4.7, which both crash on launch for documents containing code blocks.
v1.4.7
⚠️ Superseded — 1.4.7 still crashes on launch for documents with code blocks. The fix here was incomplete; please use 1.4.8 instead.
🛠 Critical fix — launch crash resolved
If CmdMD 1.4.6 crashed on launch for you, update to 1.4.7.
1.4.6 could crash immediately on launch (EXC_BREAKPOINT / SIGTRAP) the moment an editor with a code block was shown — including automatic window/session restore, so for many users it crashed every time they opened the app.
Cause: the app bundle was missing Highlightr's packaged resources (Highlightr_Highlightr.bundle — the syntax-highlighting engine + themes), so the first code-block highlight trapped. It only affected the packaged .app, which is why it slipped past local development builds.
Fix: the resource bundle is now shipped inside the app, with a defensive fallback (highlighting disables itself instead of crashing if resources are ever missing) and a packaging check so this can't regress.
➡️ Download CmdMD-1.4.7.dmg below, or click Check for Updates in‑app. Drag CmdMD.app to Applications; on first launch right‑click → Open (or xattr -dr com.apple.quarantine /Applications/CmdMD.app).
What's Changed
- fix: bundle Highlightr SPM resources — stops launch crash (SIGTRAP) by @johnfkoo951 in #1
New Contributors
- @johnfkoo951 made their first contribution in #1
Full Changelog: v1.4.6...v1.4.7
v1.4.6
v1.4.2
v1.4.1
v1.0.0
Full Changelog: https://github.com/johnfkoo951/CmdMD/commits/v1.0.0