fix: avoid isolated volume setter reabstraction in Swift 6.3.3

This commit is contained in:
2026-10-22 10:23:02 +02:00
parent 419ac8d677
commit 4ac780de2a
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -17,6 +17,8 @@ The first build downloads pinned dependencies. Build natively on Apple Silicon o
With the macOS 27 SDK, the player uses a private `ViewState` alias for the `SwiftUI.State<Value>` property wrapper to avoid selecting the same-named macro, whose `SwiftUIMacros` plugin is absent from standalone Command Line Tools. Full Xcode or an older SDK is not required.
Apple Swift 6.3.3 has been reported to abort during optimized `TerebiApp.swift` compilation with `SmallVector unable to grow` in an actor-isolated `Double` callback thunk. The volume binding uses an explicit setter closure instead of a method reference to avoid that conversion. The workaround was checked with Swift 6.4 and the macOS 26.5 SDK, but still needs confirmation on the affected 6.3.3 toolchain. Retry `make install` with the updated source; no dependency-cache reset is needed.
The resulting `.build/terebi.app` is self-contained: copy the whole app to a compatible Mac of the same architecture. No separate FFmpeg, Python, or yt-dlp installation is needed to run it.
### Apple SDK and UI API audit