rive-app / rive-ios

iOS runtime for Rive
MIT License
515 stars 58 forks source link

Provide precompiled static framework for Rive #336

Open ghugues opened 3 months ago

ghugues commented 3 months ago

Description

This is a feature request, not a bug report.

Rive currently provides a precompiled dynamic framework for each release. On iOS, you can achieve better launch performance using a static framework whose executable is merged into main executable of the application at link time.

It would we great if Rive could provide a precompiled static framework for each release in replacement or in addition to the existing dynamic one.

shashankk7 commented 3 months ago

To note, the scripts and steps given in Contributing.md do not work. We have opened a similar issue when trying to build a static library for Rive which leads to errors. https://github.com/rive-app/rive-ios/issues/335

dskuza commented 2 months ago

@ghugues @shashankk7 While building a static library for distribution is not yet on our roadmap, we have updated our build scripts and Contributing doc with the latest build instructions. I'll bring this up internally.

shashankk7 commented 2 months ago

Thanks for the update @dskuza. But please note it is important for many companies/people who distribute their products as a dynamic framework. In such a case, integrating Rive as a static library is the only option.

dskuza commented 2 months ago

@shashankk7 Yep, understood. I'll pass this along internally.