-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
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 like
_hello
_benchmark
And then set that file as the framework's Exported Symbols File in the framework's build settings.
Metadata
Metadata
Assignees
Labels
No labels