Why Swift Package Manager does not support weak linking (-weak_framework SwiftUI)

You don't need to explicitly weak link system frameworks like SwiftUI. If your package has a deployment target lower than macOS 10.15 / iOS 13.0 / tvOS 13.0 / watchOS 6.0, then SwiftUI will automatically be weak linked.

If you find some configuration where this does NOT occur, please file a bug report and attach a sample project which reproduces the issue if possible.