You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What seems to happen is Xcode strips some symbols from a framework when it's built. So if you have libhello.a inside a framework, and the framework doesn't call anything inside libhello.a, all of libhello.a is striped. If you only call one function, the others are stripped etc.
So what you have to do is declare an exported_symbols.txt like
_hello
_benchmark
And then set that file as the framework's Exported Symbols File in the framework's build settings.
The text was updated successfully, but these errors were encountered:
Option 1
Follow https://flutter.dev/docs/development/platform-integration/c-interop#ios-symbols-stripped
Option 2
See from https://github.com/drewcrawford/Rust-iOS-Example#the-case-of-the-missing-symbols
What seems to happen is Xcode strips some symbols from a framework when it's built. So if you have libhello.a inside a framework, and the framework doesn't call anything inside libhello.a, all of libhello.a is striped. If you only call one function, the others are stripped etc.
So what you have to do is declare an
exported_symbols.txt
likeAnd then set that file as the framework's
Exported Symbols File
in the framework's build settings.The text was updated successfully, but these errors were encountered: