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

Failed to load dynamic library 'iris_method_channel.framework/iris_method_channel' after remove the use_frameworks! in Podfile #71

Closed
littleGnAl opened this issue Jul 6, 2023 · 0 comments · Fixed by #72

Comments

@littleGnAl
Copy link
Collaborator

Some customers report the error below after use_frameworks! in the ios/Podfile is removed.

Unhandled exception:
Invalid argument(s): Failed to load dynamic library 'iris_method_channel.framework/iris_method_channel': dlopen(iris_method_channel.framework/iris_method_channel, 0x0001): tried: 'iris_method_channel.framework/iris_method_channel' (errno=2), '/private/preboot/Cryptexes/OSiris_method_channel.framework/iris_method_channel' (errno=2),

After some search, it causes by the static library symbols striping issue when using with ffi.
dart-lang/sdk#44328 (comment)
https://medium.com/flutter-community/using-ffi-on-flutter-plugins-to-run-native-rust-code-d64c0f14f9c2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant