I have followed the instructions from here and here
And although the .a library and the functions work as expected on Debug (simulator and real device), when I Archive and test through TestFlight the Flutter App begins with a grey background (which I read that it means some kind of error).
If I go ahead and remove all calls of the Rust lib then the Testflight opens normally.
Note: I have also added the .a library as a Linked framework from the XCode and I have included the .h file to the bridging-header.h of the project.
I have also
- run
flutter build --release - cleared the derived data
- pods cache
- even re-made the iOS folder from scratch.
Is there something else that I'm missing here?