lottie-ios 4.1.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,8 +68,14 @@ jobs:
68
68
  - name: Upload XCFramework
69
69
  uses: actions/upload-artifact@v2
70
70
  with:
71
- name: Lottie.xcframework
72
- path: .build/archives/Lottie.xcframework.zip
71
+ name: BuildProducts
72
+ # The xcframework is at the path `.build/archives/Lottie.xcframework.zip`.
73
+ # GitHub always zips the artifacts before uploading, so if we uploaded the .xframework.zip
74
+ # directly then it would actually upload a double-zip (a .zip containing our `Lottie.xcframework.zip`).
75
+ # This is confusing especially since macOS Archive Utility automatially unzips both layers at once.
76
+ # Instead, we upload the entire archives folder, resulting in an `XCFramework.zip` that unzips
77
+ # to an `archives` directory containing our `Lottie.xcframework.zip`.
78
+ path: .build/archives
73
79
 
74
80
  cocoapod:
75
81
  name: "Lint CocoaPods podspec"
@@ -1,22 +1,25 @@
1
1
  {
2
- "pins" : [
3
- {
4
- "identity" : "difference",
5
- "kind" : "remoteSourceControl",
6
- "location" : "https://github.com/krzysztofzablocki/Difference",
7
- "state" : {
8
- "revision" : "02fe1111edc8318c4f8a0da96336fcbcc201f38b",
9
- "version" : "1.0.1"
2
+ "object": {
3
+ "pins": [
4
+ {
5
+ "package": "Difference",
6
+ "repositoryURL": "https://github.com/krzysztofzablocki/Difference",
7
+ "state": {
8
+ "branch": null,
9
+ "revision": "f627d00718033c3d7888acd5f4e3524a843db1cf",
10
+ "version": "1.0.2"
11
+ }
12
+ },
13
+ {
14
+ "package": "swift-snapshot-testing",
15
+ "repositoryURL": "https://github.com/pointfreeco/swift-snapshot-testing.git",
16
+ "state": {
17
+ "branch": null,
18
+ "revision": "0c2826f26d00ff5ddf2de92cb6b2139b0dd3d1ee",
19
+ "version": null
20
+ }
10
21
  }
11
- },
12
- {
13
- "identity" : "swift-snapshot-testing",
14
- "kind" : "remoteSourceControl",
15
- "location" : "https://github.com/pointfreeco/swift-snapshot-testing.git",
16
- "state" : {
17
- "revision" : "0c2826f26d00ff5ddf2de92cb6b2139b0dd3d1ee"
18
- }
19
- }
20
- ],
21
- "version" : 2
22
+ ]
23
+ },
24
+ "version": 1
22
25
  }
package/README.md CHANGED
@@ -41,7 +41,7 @@ To install Lottie using [Swift Package Manager](https://github.com/apple/swift-p
41
41
  or you can add the following dependency to your `Package.swift`:
42
42
 
43
43
  ```swift
44
- .package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.1.0")
44
+ .package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.1.1")
45
45
  ```
46
46
 
47
47
  When using Swift Package Manager we recommend using the [lottie-spm](https://github.com/airbnb/lottie-spm) repo instead of the main lottie-ios repo. The main git repository for [lottie-ios](https://github.com/airbnb/lottie-ios) is somewhat large (300+ MB), and Swift Package Manager always downloads the full repository with all git hsitory. The [lottie-spm](https://github.com/airbnb/lottie-spm) repo is much smaller (less than 500kb), so can be downloaded much more quickly.
package/Rakefile CHANGED
@@ -64,6 +64,7 @@ namespace :build do
64
64
  ].join(" "))
65
65
  Dir.chdir('.build/archives') do
66
66
  sh 'zip -r Lottie.xcframework.zip Lottie.xcframework'
67
+ sh 'rm -rf Lottie.xcframework'
67
68
  end
68
69
  sh 'swift package compute-checksum .build/archives/Lottie.xcframework.zip'
69
70
  end
@@ -78,7 +79,7 @@ namespace :test do
78
79
 
79
80
  desc 'Processes .xcresult artifacts from the most recent test:package execution'
80
81
  task :process do
81
- sh 'mint run ChargePoint/xcparse@2.2.1 xcparse attachments Tests/Artifacts/LottieTests.xcresult Tests/Artifacts/TestAttachments'
82
+ sh 'mint run ChargePoint/xcparse@2.3.1 xcparse attachments Tests/Artifacts/LottieTests.xcresult Tests/Artifacts/TestAttachments'
82
83
  end
83
84
 
84
85
  desc 'Tests Carthage support'
@@ -8,7 +8,7 @@
8
8
 
9
9
  Pod::Spec.new do |s|
10
10
  s.name = 'lottie-ios'
11
- s.version = '4.1.0'
11
+ s.version = '4.1.1'
12
12
  s.summary = 'A library to render native animations from bodymovin json'
13
13
 
14
14
  s.description = <<-DESC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lottie-ios",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with bodymovin and renders the vector animations natively on mobile and through React Native!",
5
5
  "main": "index.js",
6
6
  "scripts": {