Open josephmangmang opened 2 months ago
Try to add this line in your Podfile
:
use_frameworks! :linkage => :static
Try to add this line in your
Podfile
:use_frameworks! :linkage => :static
Yes this one solve the issue and also the s.static_framework=true
but problem with these solutions is I can no longer find my cpp function in Flutter FFI using DynamicLibrary.process()
I'm still looking to solve this static binary issue while maintaining the cpp function to be accessible in dart.
my bad, this package works well when adding to my flutter plugin. No need to make it static framework.
oh so on OpenCV-Dynamic-Framework (4.8.0-b1) issue is still there.
OpenCV-Dynamic-Framework (4.5.5) can be use without error, but 4.8.0-b1 is showing linked binary error
[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/example/ios/Pods/OpenCV-Dynamic-Framework/opencv2.xcframework) Do you have idea how to fix this?