minutes icon indicating copy to clipboard operation
minutes copied to clipboard

system_audio_record in Minutes 0.22.0 is built for macOS 26 and crashes on macOS 15

Open Victors081 opened this issue 4 months ago • 2 comments

Summary

Native call capture fails because the bundled system_audio_record helper in Minutes 0.22.0 appears to have been built for macOS 26.0.

On macOS 15.7.3, the helper crashes immediately before signaling readiness.

Environment

  • Minutes desktop app: 0.22.0
  • Minutes CLI: 0.19.0
  • macOS: 15.7.3
  • Build: 24G419
  • Architecture: Apple Silicon
  • Meeting platform: Google Meet
  • Audio device: AirPods

Steps to reproduce

  1. Open Minutes 0.22.0 on macOS 15.7.3.
  2. Join a Google Meet call.
  3. Start native call recording.
  4. Minutes displays the following error:
Native call capture failed:
native call helper exited before signaling readiness
  1. The fallback is rejected because AirPods are not a loopback or system-audio route.

Actual behavior

The bundled system_audio_record helper crashes immediately at startup.

The macOS unified log reports:

Library not loaded: /usr/lib/swift/libswift_DarwinFoundation2.dylib

Referenced from:
  /Applications/Minutes.app/Contents/MacOS/system_audio_record

built for macOS 26.0 which is newer than running OS

Reason:
  tried: '/usr/lib/swift/libswift_DarwinFoundation2.dylib'
  (no such file, not in dyld cache)

Two crash reports were generated for system_audio_record.

Expected behavior

The bundled native call-capture helper should run on the minimum supported macOS version declared by Minutes.

Alternatively, the application should explicitly require macOS 26 if that is now the minimum supported version.

Minutes.app itself launches successfully. Only the bundled system_audio_record helper crashes.

Additional information

Desktop bundle version:

defaults read /Applications/Minutes.app/Contents/Info.plist CFBundleShortVersionString

Output:

0.22.0

macOS version:

sw_vers

Output:

ProductName:    macOS
ProductVersion: 15.7.3
BuildVersion:   24G419

Relevant helper:

/Applications/Minutes.app/Contents/MacOS/system_audio_record

Victors081 avatar Jul 17 '26 04:07 Victors081

Confirmed, and thank you for the clear report @Victors081 — this is a real release regression and you diagnosed it correctly. It's a build bug, not a source-guard bug.

Root cause: the system_audio_record Swift helper is compiled in tauri/src-tauri/build.rs with a swiftc invocation that passes no -target. When swiftc has no explicit target it stamps the binary's LC_BUILD_VERSION minos from the host SDK — and our 0.22.0 macOS release is built on the macos-latest runner, which is now macOS 26. So the helper shipped with minos 26.0, and dyld refuses to load it on macOS 15 ("built for newer macOS version 26.0"). The main app binary is fine (minos 11.0) because clang/ld honor MACOSX_DEPLOYMENT_TARGET; swiftc does not, which is exactly why only the Swift helper is mis-stamped.

The source guards are actually correct — NativeCallRecorder is behind @available(macOS 15.0, *) and there's a runtime #available check that cleanly exit(1)s below 15 — so nothing needs to change there. The problem is purely the binary's embedded minimum-OS.

Fix: pass an explicit -target <arch>-apple-macos11.0 to the swiftc calls in build.rs (for all three helpers — system_audio_record, mic_check, calendar-events, which share the identical latent bug). Because the macOS-15 API is weak-linked behind @available, the retargeted binary loads on macOS 11–14 (and cleanly exits when unsupported) and runs on 15+.

You can confirm the current bad state on your installed 0.22.0:

otool -l "/Applications/Minutes.app/Contents/MacOS/system_audio_record" | grep -A4 LC_BUILD_VERSION
# shows: minos 26.0   (should be 11.0)

This one warrants a fast patch release since it breaks call capture for anyone not on macOS 26. Fix incoming. Really appreciate you flagging it with the version detail.

silverstein avatar Jul 17 '26 05:07 silverstein

Confirmed on my installation:

cmd LC_BUILD_VERSION
cmdsize 32
platform 1
minos 26.0
sdk 26.5

Thanks for confirming the root cause and for preparing a fast patch release. Btw, amazing app!

Victors081 avatar Jul 17 '26 05:07 Victors081