Skip to content

Conversation

@slimewell
Copy link

Description

This PR fixes a crash where libSkiaSharp fails to load due to a 'Single-File Executable Signature Mismatch'.

Root Cause

The app is built as a Single-File Executable. On launch, native libraries (like libSkiaSharp.dylib) are extracted to a temp location. On macOS (specifically Apple Silicon), the hardened runtime blocks these extracted libraries because their Team IDs don't match the main process, causing a SIGABRT.

Fix

Added 'com.apple.security.cs.disable-library-validation' to 'MacUtilGUI.entitlements' to allow loading of these external libraries.

Adds com.apple.security.cs.disable-library-validation entitlement to resolve SIGABRT crashes caused by library validation failures on macOS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant