Replies: 5 comments 25 replies
-
Thanks all for the discussion here. We've created a new lottie-spm repo that folks can use with Swift Package Manager. This repo is much smaller than the main repo (~500kb instead of 300mb) so should resolve these repo size issues. It's easier to integrate than XCFrameworks, since it's just a normal Swift package that you can add via Xcode or your |
Beta Was this translation helpful? Give feedback.
-
We now publish For example, the 4.0.1 release includes a // You can either use a remote binary dependency where SPM downloads the xcframework from GitHub
.binaryTarget(
name: "Lottie",
url: "https://github.com/airbnb/lottie-ios/releases/download/4.0.1/Lottie.xcframework.zip",
checksum: "b6d8b0b81975d91965b8bb00cffb0eae4b3d94538b6950a90bc1366afd5d4239")
// Or you can download the xcframework locally and include it in your project's git repo:
.binaryTarget(
name: "Lottie",
path: "path/to/Lottie.xcframework") The |
Beta Was this translation helpful? Give feedback.
-
We've adopted Git LFS for our snapshot images. By default a checkout of master is now 213MB, down from 375MB. |
Beta Was this translation helpful? Give feedback.
-
A clean clone of the repo is currently 315MB. This is mostly because we have ~100MB of snapshot images from our regression tests checked into the repo ( |
Beta Was this translation helpful? Give feedback.
-
It might be related to GIT history: https://stackoverflow.com/questions/11050265/remove-large-pack-file-created-by-git |
Beta Was this translation helpful? Give feedback.
-
Which Version of Lottie are you using?
Lottie 3.5.0
Expected Behavior
Lottie should not be so large.
Actual Behavior
Lottie is fetched as a 357MB size repository somehow:
It's mostly due to this file:
I'm not sure yet how this is possible since the repository currently downloaded is only ~150MB.
Any input is welcome!
Beta Was this translation helpful? Give feedback.
All reactions