Skip to content

Mac app crashes on launch: ClawdbotKit resource bundle not found #213

@neilsanghrajka

Description

@neilsanghrajka

Description

The Clawdbot Mac app crashes immediately on launch with a fatal error about a missing resource bundle.

Error

From system logs (log show --predicate 'process == "Clawdbot"'):

ClawdbotKit/resource_bundle_accessor.swift:12: Fatal error: could not load resource bundle: from /Applications/Clawdbot.app/ClawdbotKit_ClawdbotKit.bundle or /Users/steipete/Projects/clawdis/apps/macos/.build/arm64/arm64-apple-macosx/debug/ClawdbotKit_ClawdbotKit.bundle

Environment

  • App Version: 2026.1.5-3 (Build 3095)
  • macOS: 26.2 (25C56)
  • Architecture: ARM64 (Apple Silicon - MacBook Air M1)
  • Bundle ID: com.clawdbot.mac.debug

Context

The crash occurs when the app tries to load ClawdbotKit_ClawdbotKit.bundle. The error message references a hardcoded debug path (/Users/steipete/Projects/clawdis/...) which suggests the bundle path wasn't properly updated for the release build.

Crash Stack (relevant frames)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0  libswiftCore.dylib  _assertionFailure(_:_:file:line:flags:)
1  Clawdbot            closure #1 in variable initialization expression of static NSBundle.module
2  Clawdbot            one-time initialization function for module
...
10 Clawdbot            static ToolDisplayRegistry.loadConfig()

Steps to Reproduce

  1. Install Clawdbot.app (v2026.1.5-3)
  2. Launch the app
  3. App crashes immediately

Additional Notes

  • The iMessage monitor also fails to start (possibly related or separate Full Disk Access issue)
  • Gateway process appears to work, but the Mac app UI crashes on tool display initialization

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions