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
And then set that file as the framework's Exported Symbols File in the framework's build settings.
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.txtlikeAnd then set that file as the framework's
Exported Symbols Filein the framework's build settings.