Skip to content

Commit 14b7c68

Browse files
committed
Updated Lottie dependency url
Their documentation states: When using Swift Package Manager we recommend using the lottie-spm repo instead of the main lottie-ios repo. The main git repository for lottie-ios is somewhat large (300+ MB), and Swift Package Manager always downloads the full repository with all git history. The lottie-spm repo is much smaller (less than 500kb), so can be downloaded much more quickly.
1 parent 27793ad commit 14b7c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
targets: ["LottieUI"]),
1717
],
1818
dependencies: [
19-
.package(name: "Lottie", url: "https://github.com/airbnb/lottie-ios.git", branch: "master")
19+
.package(name: "Lottie", url: "https://github.com/airbnb/lottie-spm.git", branch: "main")
2020
],
2121
targets: [
2222
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

0 commit comments

Comments
 (0)