-
Notifications
You must be signed in to change notification settings - Fork 202
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
iOS Rive initialization crash: init -> rive_text_ffi not found #432
Comments
Hi @julianfalcionelli, is this failing for you locally?
Can you try running You can also try initializing Rive earlier in your app lifecycle. For example, at the start of
|
Hi @HayesGordon , thanks for your reply. My Flutter version is:
We can reproduce this in all the iOS devices we have (I can get you the list of models and iOS versions next week since I have to contact QA), for me I am testing on an iPhone SE and emulator (iPhone 15 Pro - iOS 17). I tried by cleaning everything and rebuilding ( I also tried calling the
Just got a replay from QA, the iOS devices they are using are:
|
Hi, DescriptionSimply calling RiveAnimation.asset('assets/animations/loading.riv') No animation displayed and the following error appears in the logs. Flutter clean and rebuild didn't help. Works fine on Android
Rive version
Flutter Doctor
Tested devicesIphone SE 2020 ios 16.6.1 |
We've not been able to reproduce this issue, and I'm trying to isolate the cause. Are you potentially overriding the It'll be incredibly helpful if you can provide a small example project that reproduces this that we can run. And if you can provide info on the following:
I see there is a similar issue on the Dart repository, can you experiment with this suggestion to see if it works for you: dart-lang/native#897 (comment) |
Hi @HayesGordon, I am using the latest
I also found that thread you mentioned there and tried changing that from XCode but didn't work. I am now updating XCode to the latest version and try again. |
Hi, this problem has recently surfaced in our app as well and we can reproduce it on all iOS devices in release, TestFlight and debug builds. We are using
I've tried to call I also tried to change Strip Style from "All Symbols" to "Non-Global Symbols" according to dart-lang/native#897 (comment) but no difference. |
@HayesGordon I tried to create a small example project to reproduce the issue but unfortunately it works then which explains why you can't reproduce it. This means that the problem most likely lies with bigger/older projects or is caused by some other dependency. Let me know if there is anything I can do to help you debug this further. |
We bisected our history and found the commit that caused the issue. It configured CocoaPods to use static frameworks instead of dynamic ones. To reproduce:
This will lead to the error @julianfalcionelli @dimnocode Can this be what you did as well and reverting it would fix your issue? |
@Kal-Elx, thank you for following this. Your comment was very useful. Since the project I am working on is five years old, testing like that is a bit complicated. I removed this Xcode => Runner => Build Settings: Search for "Allow Non-modular Includes In Framework Modules" to "yes" and now is working as expected. cc: @HayesGordon |
Hi @Kal-Elx, It was indeed the issue for my case too. Thank you very much all |
the problem is that i need |
Description
On iOS my rive animations are failing on initialization.
On Android this is working as expected.
Rive version
rive: ^0.13.16
Flutter Doctor
Rive File
get_started.riv.zip
Code
The text was updated successfully, but these errors were encountered: