I develop a close-sourced library that used to be shipped with CocoaPods in two variants: static and dynamic. Now the time has come to adopt SPM and I wonder if I can ship it as a static library? I found some difficulties with it because there is no out-of-the-box solution.
- Static library needs other libraries it depends on to properly link
- Even though I can bypass the 1-st problem, Xcode embeds static library inside [App].app/Frameworks, that is pointless.
So does SPM even designed to ship static libraries as binary dependencies?