Skip to content

build-direct.sh probably hits the same lipo and metallib signing failures as #61 #67

Backlog

Description

@setoelkahfi

Found while fixing #61 in #66.

What happens

packaging/app/scripts/build-direct.sh build still runs one pnpm tauri build --target universal-apple-darwin --bundles app,dmg and lets Tauri do the lipo merge, signing and notarization. #61 showed both steps failing for the App Store build in a non-tty shell: tauri-cli 2.12.5 couldn't spawn lipo ("Bad file descriptor"), and codesign rejected the bundle because Contents/MacOS/mlx.metallib was unsigned. The direct build bundles the same metallib, so it very likely fails the same way. I haven't run it to confirm.

Why it wasn't changed in #66

The App Store fix compiles each arch, runs lipo from bash, bundles with --no-sign and signs the bundle itself. For Developer ID the script would also need hardened runtime, a secure timestamp, notarization of the .app with notarytool, stapling, and building the DMG after signing. That is a bigger change, and it needs a real notarization round to test.

What closes this


Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Co-Authored-By: siGit Code v1.7.10 noreply@sigit.si
Co-Authored-By: OndeCode v1.1.2 noreply@ondeinference.com

Get your siGit Factory.

Activity

  1. added
    bug
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions