Skip to content

fix(desktop): package MLX metallib as resource#5289

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/macos-metallib-resource
May 20, 2026
Merged

fix(desktop): package MLX metallib as resource#5289
ComputelessComputer merged 1 commit into
mainfrom
fix/macos-metallib-resource

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented May 20, 2026

Move the bundled MLX Metal library under the SwiftPM Cmlx resource bundle path so macOS signing no longer treats it as nested executable code.


Note

Low Risk
Low risk: only adjusts macOS bundling paths for a single resource in Tauri config; main risk is a packaging/regression if the new metallib path is wrong and the app can’t find the Metal library at runtime.

Overview
Updates the macOS bundle files mapping in tauri.conf.json and tauri.conf.staging.json to ship the MLX Metal library from Resources/mlx-swift_Cmlx.bundle/default.metallib instead of MacOS/mlx.metallib.

This changes where resources/mlx.metallib is placed in the packaged app to avoid macOS treating it as nested executable code during signing/notarization.

Reviewed by Cursor Bugbot for commit caa980b. Bugbot is set up for automated code reviews on this repo. Configure here.

Move the bundled MLX Metal library under the SwiftPM Cmlx resource bundle path so macOS signing no longer treats it as nested executable code.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit caa980b
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a0d86dd8fe5960008432161

@ComputelessComputer ComputelessComputer merged commit fdffb0a into main May 20, 2026
10 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/macos-metallib-resource branch May 20, 2026 10:50
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