Skip to content

macOS libraries load on macOS 15 and later - #64

Merged
risenxxx merged 2 commits into
mainfrom
fix/macos-14-floor
Nov 7, 2026
Merged

risenxxx merged 2 commits into
mainfrom
fix/macos-14-floor

Conversation

@risenxxx

@risenxxx risenxxx commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Fixes #63.

The macOS library set was built on macos-26, so every dylib (Homebrew bottles plus our FFmpeg and mpv) had minos 26.0. dyld refuses them on older systems. The wrapper only dlopens libmpv when mpv is created, so macOS 15 users saw "Failed to create mpv instance".

  • macos-libs.yml now builds on macos-15. build-macos-libs.sh sets MACOSX_DEPLOYMENT_TARGET=15.0 and stops in CI when the host is newer than that (this also covers the fallback build in release.yml).
  • New scripts/check-macos-minos.sh checks every library against minimumSystemVersion. It runs at build, in the workflow and at fetch.
  • tauri.macos.conf.json: minimumSystemVersion: "15.0".

The app itself is still built on macos-26, because its SDK decides the window chrome.

🤖 Generated with Claude Code

risenxxx and others added 2 commits November 7, 2026 04:52
The library set was built on macos-26, so every Homebrew bottle and our own
FFmpeg and mpv carried minos 26.0. dyld refused libmpv on anything older, and
since the wrapper only dlopens it when mpv is created, macOS 15 users got a
bare "Failed to create mpv instance" (#63).

- macos-libs.yml builds on macos-14; build-macos-libs.sh exports
  MACOSX_DEPLOYMENT_TARGET=14.0 and refuses in CI on a newer host, which
  also stops release.yml's fallback from building a 26.0 set
- check-macos-minos.sh holds every dylib and the ffmpeg CLI to
  minimumSystemVersion; run at build, in the workflow and at fetch
- tauri.macos.conf.json: minimumSystemVersion 14.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@risenxxx risenxxx changed the title macOS libraries load on macOS 14 and later again macOS libraries load on macOS 15 and later Nov 7, 2026
@risenxxx
risenxxx merged commit 477c6eb into main Nov 7, 2026
9 of 10 checks passed
@risenxxx
risenxxx deleted the fix/macos-14-floor branch November 7, 2026 01:11
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.

Could not start mpv

1 participant