Closed jaggernod closed 1 month ago
Rive animation is not being shown due to the inability to load init symbol on iOS devices (Android and Linux work fine)
init
Steps to reproduce the behavior:
A rive animation is shown and running
No need, there is just an empty space in place of the Rive widget
Flutter 3.19.5 • channel [user-branch] • unknown source Framework • revision 300451adae (8 weeks ago) • 2024-03-27 21:54:07 -0500 Engine • revision e76c956498 Tools • Dart 3.3.3 • DevTools 2.31.1
Logs from the application:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'init': dlsym(RTLD_DEFAULT, init): symbol not found #0 DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:33:70) #1 init (package:rive_common/src/rive_text_ffi.dart:527:15) #2 init (package:rive_common/src/rive_text_ffi.dart) #3 initFont (package:rive_common/src/rive_text_ffi.dart:836:3) #4 Font.initialize (package:rive_common/rive_text.dart:477:7) #5 RiveFile.initializeText (package:rive/src/rive_file.dart:365:33) #6 RiveFile._initTextAndImport (package:rive/src/rive_file.dart:381:13) #7 RiveFile.asset (package:rive/src/rive_file.dart:411:12) <asynchronous suspension> #8 RiveAnimationState._configure (package:rive/src/widgets/rive_animation.dart:212:11) <asynchronous suspension>
Apologies, after further investigation it turned up that it was not the fault of Rive Library. We had another library messing up the library linking.
Closing this issue.
Description
Rive animation is not being shown due to the inability to load
init
symbol on iOS devices (Android and Linux work fine)Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
A rive animation is shown and running
Screenshots
No need, there is just an empty space in place of the Rive widget
Device & Versions (please complete the following information)
Additional context
Logs from the application: