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

Enables support for distributing Lottie as a binary library #1173

Closed
wants to merge 1 commit into from
Closed

Enables support for distributing Lottie as a binary library #1173

wants to merge 1 commit into from

Commits on Apr 4, 2020

  1. Enables support for distributing Lottie as a binary library

    This fixes #1081.
    
    **Solution**
    
    To allow frameworks to be used by multiple Swift version, we need to set:
    
    ```
    BUILD_LIBRARY_FOR_DISTRIBUTION = YES
    ```
    
    This isn't necessary for a Swift package (since they are build from source),
    but it's useful for Carthage or other means of distributing binary frameworks.
    
    **Testing**
    
    I built `Lottie.framework` in Xcode 11.3.1. Then in Xcode 11.4 I created a
    test project and linked to the generated project. It built and linked
    successfully.
    devioustree committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    1ae42f7 View commit details
    Browse the repository at this point in the history