You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building the native C wrappers of OpenCV using conan and CMake, referring to native_assets_toolchain_c, I can compile it successfully and get opencv_dart.framework for ios, the compiled framework looks like:
Flutter itself packages things in a framework with a plist.
The build.dart outputs a dylib (per architecture), and the iOS/MacOS build bundle these dylibs (each for every target architecture) in a framework with the correct plist.
I am building the native C wrappers of OpenCV using
conan
andCMake
, referring tonative_assets_toolchain_c
, I can compile it successfully and getopencv_dart.framework
for ios, the compiled framework looks like:But I don't know how to correctly add it to assets to consume in Flutter, I added the
opencv_dart
(i.e., the dylib, you can find more details here: https://github.com/rainyl/opencv_dart/blob/d5eea8976cfd645b8dba5e8fe17dcfad95b8b1e9/hook/native_toolchain_conan.dart#L162C5-L204C37) to asset as normalNativeCodeAsset
, it worked on a simulator, I am not a experienced IOS developer but it seems with out info.plist, It can't be correctly upload to APP Store, rainyl/opencv_dart#11So, would you mind explain more about how to add the framework to asset of buildOutput correctly? Thanks a lot!
The text was updated successfully, but these errors were encountered: