-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Issue
- Resolving this dependency with Swift Package Manager takes a long time
- Using this dependency consumes too much Hard Drive space
Context
This repository appears to exist as a mirror to provide a thinner version of the Sendbird UIKit for Swift Package Manager clients.
However, rather than using the framework binary which you make available on the Github release, this library has elected to store and reference a binary framework hosted directly in source control. This leads SPM to download not only the current release, but to checkout all previous releases when resolving the UIKit dependency.
This leads to a much-much larger download than necessary.
Worse yet, this information is not cleared after the installation, it sits in the developer's machine wasting hard drive capacity as well. A developer using the Sendbird UIKit in a modular project might have numerous copies of this repository on their machine. I have ~5GB dedicated to it myself.
Derived Data
1 copy per project using Sendbird

Swift PM Cache
1 copy per machine

Solution
I've created a repository demonstrating how I believe this package should be vendored.
Using this package (in the same way that you would install this one) leads to a much faster download and much less data retention
Derived Data

Swift PM Cache
