Closed vpolsinelli closed 3 years ago
Switched the products from Swift Package Manager to be dynamic rather than static.
dynamic
static
By default, Swift Package Manager sets this to static and can cause linking issues. The specific error I am trying to address is:
error: Swift package product LIBRARY is linked as a static library by APP and EXTENSION. This will result in duplication of library code.
I ended up following this approach: https://github.com/onevcat/Kingfisher/pull/1426/files as it exposes all linking options. Thanks!
Switched the products from Swift Package Manager to be
dynamic
rather thanstatic
.By default, Swift Package Manager sets this to
static
and can cause linking issues. The specific error I am trying to address is: