Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add info about lottie-spm repo #1921

Merged
merged 3 commits into from
Jan 19, 2023
Merged

Add info about lottie-spm repo #1921

merged 3 commits into from
Jan 19, 2023

Conversation

calda
Copy link
Member

@calda calda commented Jan 18, 2023

This PR adds information about the new lottie-spm repo. I think it makes sense for this to be the recommended way to integrate Lottie via Swift Package Manager.

I'll release 4.1.0 after merging this PR.

@@ -71,29 +75,6 @@ carthage update
```
In your application targets “General” tab under the “Linked Frameworks and Libraries” section, drag and drop lottie-ios.framework from the Carthage/Build/iOS directory that `carthage update` produced.

### Binary dependency (`xcframework`)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to recommend this approach anymore, since it was primarily a workaround for the large repo size when using SPM. I think the UX for integrating with the lottie-spm repo is much better than manually managing XCFrameworks / checksums. Using lottie-spm also probably makes it easier for folks to stay up-to-date (since the standard swift package update flow still works).

@calda calda enabled auto-merge (squash) January 18, 2023 20:16
@calda calda disabled auto-merge January 18, 2023 20:16
@calda
Copy link
Member Author

calda commented Jan 19, 2023

ptal @erichoracek

Copy link
Collaborator

@erichoracek erichoracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@calda LGTM! Frustrating that we need to use this workaround, it would be good to elevate this to the SPM folks in some form

@calda
Copy link
Member Author

calda commented Jan 19, 2023

I filed an issue on SPM here: swiftlang/swift-package-manager#6062

@calda calda merged commit 31c914b into master Jan 19, 2023
@calda calda deleted the cal--lottie-spm branch January 19, 2023 18:04
iago849 pushed a commit to atteamapps/lottie-ios that referenced this pull request Feb 8, 2024
MoroziOS pushed a commit to MoroziOS/tmg-lottie-ios that referenced this pull request May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants