Skip to content

Conversation

@jeffhunter
Copy link

For a project I'm working on, I need to link Bugsnag as a dynamic framework because I need to link against Bugsnag in both an app target and a framework target. Unfortunately there is a bug / behavior in Xcode where it always builds a static framework unless the dynamic option is explicitly specified in the Package.swift file. For more discussion, see this thread:

https://forums.swift.org/t/how-to-link-a-swift-package-as-dynamic/32062

Other projects, like SwiftMessages, have dealt with this by adding separate products that explicitly specify the dynamic option in Package.swift:

SwiftKickMobile/SwiftMessages#495

This PR makes a similar change to Bugsnag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant