A better long-term approach would be to rebuild MWC as a dynamic library and wrap it in xcframeworks, which are Apple’s preferred format.
When attempting to compile MWC as a dylib, the build completes successfully, but integrating it into Flutter fails due to missing symbols.
Instead of relying on the current platform-plugin setup with manually hacked-in FFI code, we should create a dedicated package that uses a correct FFI structure. This would resolve symbol issues, align with Apple’s frameworks, and simplify integration for Flutter.