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

Our SDK is crashing when using Rive Runtime #287

Open
shashankk7 opened this issue Dec 15, 2023 · 2 comments
Open

Our SDK is crashing when using Rive Runtime #287

shashankk7 opened this issue Dec 15, 2023 · 2 comments

Comments

@shashankk7
Copy link

shashankk7 commented Dec 15, 2023

We have integrated Rive in our SDK using Cocoapods, and when we integrate our SDK into one of our sample apps it just crashes with the below error:

dyld[1601]: Library not loaded: @rpath/RiveRuntime.framework/RiveRuntime

Reason: tried: '/usr/lib/swift/RiveRuntime.framework/RiveRuntime' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/RiveRuntime.framework/RiveRuntime' (no such file), '/private/var/containers/Bundle/Application/D5AA5033-232C-4CE6-BE7E-BD977DDE4E90/SampleApp.app/Frameworks/RiveRuntime.framework/RiveRuntime' (no such file), 

Rive version - 5.5.1
Devices - All
iOS version - Greater than 14

Could anyone please help us on how to integrate Rive properly in an SDK that is distributed as a framework?

We use other thrid party frameworks as well and they work fine.

@shashankk7 shashankk7 changed the title Our SDK crashing when using Rive Runtime Our SDK is crashing when using Rive Runtime Dec 15, 2023
@FerranRL
Copy link

I have same problem when using Rive Swift package. Some workaround for make possible to install in a iOS device? In sinulator there`s no problem.

@roozik
Copy link

roozik commented Mar 19, 2024

In the target's General tab, there is an Embedded Binaries field. When you add the framework there the crash is resolved.

Reference is here on Apple Developer Forums.

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

No branches or pull requests

3 participants