1

I want to create a Flutter module, then I will embbed it to native iOS project. I'm following Option B in this document of Flutter to create a module.

As in the document, I executed this command: flutter build ios-framework --output=some/path/MyApp/Flutter/ to generate Flutter code into frameworks.

But when I imported App.xcframework and Flutter.xcframework (from same folder Release), I got this error:enter image description here

After researched, I followed this document of Flutter, I updated Thin Binary script and add Other Linker Flags.

But when I build Flutter's code into frameworks, only App.xcframework in Debug folder have kernel_blob.bin file.

enter image description here enter image description here

This is my flutter config:
enter image description here

How to make App.xcframework in Release folder have kernel_blob.bin file? Thank in advance for your help

Hoang Anh Tuan
  • 370
  • 3
  • 9

0 Answers0