Distributing Binary (closed source) Libraries

IMHO Binary distribution is one of the key features for any package manager and for sure should be opt in. I don’t understand why every time we need something that is regular thing on other languages, SPM says - “NO!”.

From my perspective it hasn't been "NO!", but rather "How do you want this to work?".

Given that SPM is driven by Swift Evolution, that means it's driven by community involvement to

  1. provide a proposal for how SPM should behave
  2. provide an implementation to evaluate the proposal
10 Likes

It looks that starting from Xcode 12 here is possibility to distribute binary frameworks using Swift packages.

WWDC 2020 (very short) talk: Distribute binary frameworks as Swift packages - WWDC20 - Videos - Apple Developer

2 Likes