Skip to content

Commit

Permalink
Bump XCFramework pointer to lottie-ios 4.1.3 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
calda authored Feb 15, 2023
1 parent de0f6ad commit c385281
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Build Example
run: bundle exec rake build:example:all
run: bundle exec rake build:example:github_actions
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "Lottie",
url: "https://github.com/airbnb/lottie-ios/releases/download/4.1.2/Lottie.xcframework.zip",
checksum: "3fc1e8054e3749caee0ae189770b6793a6ab3292b4d9d8fd1b8762265339c14b"),
url: "https://github.com/airbnb/lottie-ios/releases/download/4.1.3/Lottie.xcframework.zip",
checksum: "31ab682ec2c7b49e8a59458f7e4cfa027a07d8ba962df0ddcb95909ce5a9693d"),

// Without at least one regular (non-binary) target, this package doesn't show up
// in Xcode under "Frameworks, Libraries, and Embedded Content". That prevents
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.1.2")
.package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.1.3")
```

### Why is there a separate repo for Swift Package Manager support?
Expand Down
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
namespace :build do
desc 'Builds the Lottie example app'
namespace :example do
desc 'Builds the Example apps for all supported platforms / architectures. Requires valid code signing.'
task all: ['iOS:simulator', 'iOS:device', 'macOS:arm64', 'macOS:x86_64', 'macCatalyst:arm64', 'macCatalyst:x86_64']

desc 'Builds the Example app for platforms / architectures supported by Github Actions CI'
task github_actions: ['iOS:simulator', 'macOS:x86_64']

namespace :iOS do
task :simulator do
xcodebuild('build -scheme "Example (iOS)" -destination "platform=iOS Simulator,name=iPhone 8" -workspace Example/Example.xcworkspace')
Expand Down

0 comments on commit c385281

Please sign in to comment.