You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A binary in another package that uses this crate now starts on Apple silicon with the default deployment target. Before, it stopped at launch with Library not loaded: @rpath/libswift_Concurrency.dylib, because the rpaths of the build script apply only to the targets of this package. The Swift bridge now calls the completion-handler forms of the SCStream start, stop and update methods. It no longer uses the Swift concurrency library (#171).
The build script no longer adds the usr/lib/swift/macosx directory of the Xcode toolchain as an rpath. That directory does not contain the Swift runtime libraries. The build script still searches it for the static Swift compatibility libraries (#171).
The README tells how to build an x86_64 binary for macOS 12.3. With the default x86_64 target, macOS 10.12, the binary loads the Swift runtime through @rpath and stops at launch (#171).