mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-05-30 18:48:30 +01:00
Build #8 confirmed BOTH iOS jobs (signed + unsigned) fail at the same step: the Streamyfin app-target link (`Ld ... Streamyfin`), not any pod framework. Under use_frameworks static + Xcode 26 the SwiftUI pods' object files carry a `-framework SwiftUICore` autolink directive that flows into the app link; ld rejects it with "cannot link directly with 'SwiftUICore' because product being built is not an allowed client of it". forceStaticLinking the SwiftUI pods was treating a symptom. The real fix is to weakly link SwiftUICore on the app target so the allowed-client check is bypassed and the symbols resolve via SwiftUI's re-export at runtime. New plugin withSwiftUICoreWeakLink scopes the flag to product-type application only, leaving the tvOS TopShelf app-extension untouched (a broad weak-link previously broke that target).