Clawdbot mac app issue
Heads‑up: macOS local gateway fails on 2026.1.9 with hardened runtime library validation.
Error:
ERR_DLOPEN_FAILED loading @mariozechner/clipboard-darwin-arm64
“code signature … not valid for use in process: mapping process and mapped file (non‑platform) have different Team IDs”
This happens when the app loads the native .node module extracted to /private/tmp. Looks like the module isn’t signed with the same Team ID,
or the app lacks the entitlement:
com.apple.security.cs.disable-library-validation
Workaround: re‑sign app with that entitlement (breaks notarization).
Proper fix: ship the mac app with that entitlement or sign the embedded .node with the same Team ID.
Error:
ERR_DLOPEN_FAILED loading @mariozechner/clipboard-darwin-arm64
“code signature … not valid for use in process: mapping process and mapped file (non‑platform) have different Team IDs”
This happens when the app loads the native .node module extracted to /private/tmp. Looks like the module isn’t signed with the same Team ID,
or the app lacks the entitlement:
com.apple.security.cs.disable-library-validation
Workaround: re‑sign app with that entitlement (breaks notarization).
Proper fix: ship the mac app with that entitlement or sign the embedded .node with the same Team ID.
