Skip to content

Commit

Permalink
Update Lottie.xcframework reference to lottie-ios 4.4.2 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Apr 4, 2024
1 parent ce9f536 commit 4d0c11c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import PackageDescription
/// This XCFramework can be used by Xcode 15.0 and later.
let lottieXCFramework = Target.binaryTarget(
name: "Lottie",
url: "https://github.com/airbnb/lottie-ios/releases/download/4.4.1/Lottie-Xcode-15.2.xcframework.zip",
checksum: "e7416d067fbef2e5ac30eb889a356e8f7e0ab47e95bc84689812ff525b146309")
url: "https://github.com/airbnb/lottie-ios/releases/download/4.4.2/Lottie-Xcode-15.2.xcframework.zip",
checksum: "0d88ba1674ade6bf34230917ce2692bb3947c13c9e989ff3859a3ecc25f869b4")
#else
/// A precompiled XCFramework of the lottie-ios repo that was compiled with Xcode 14.1 / Swift 5.7.
/// This XCFramework bundle doesn't support visionOS, but does support Xcode 14.
let lottieXCFramework = Target.binaryTarget(
name: "Lottie",
url: "https://github.com/airbnb/lottie-ios/releases/download/4.4.1/Lottie-Xcode-14.1.xcframework.zip",
checksum: "6297c4a2651c20c9fb8a6bb44dadbf1531c7dbfe4c6c2b8deec1416a14c91ca1")
url: "https://github.com/airbnb/lottie-ios/releases/download/4.4.2/Lottie-Xcode-14.1.xcframework.zip",
checksum: "8dbe94c6c589b72744d716e918bc2096ce28495616d76065f60c370f600691c4")
#endif

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To install Lottie using [Swift Package Manager](https://github.com/apple/swift-p
or you can add the following dependency to your `Package.swift`:

```swift
.package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.4.1")
.package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.4.2")
```

### Why is there a separate repo for Swift Package Manager support?
Expand Down

0 comments on commit 4d0c11c

Please sign in to comment.