当在ios上使用DynamicLibrary.open("xxx.framework/xxx")打开动态库报错时,需要把这个库的文件添加到项目中
具体步骤如下:
-
在xcode中打开项目工作区 example/ios/Runner.xcworkspace
-
右键点击 “Runner”
-
选择 Add files to "Runner"
-
选择 xxx.framework 文件添加
-
重新 flutter run
当在ios上使用DynamicLibrary.open("xxx.framework/xxx")打开动态库报错时,需要把这个库的文件添加到项目中
具体步骤如下:
在xcode中打开项目工作区 example/ios/Runner.xcworkspace
右键点击 “Runner”
选择 Add files to "Runner"
选择 xxx.framework 文件添加
重新 flutter run
本文标题:Flutter FFI: Failed to load dyna
本文链接:https://www.haomeiwen.com/subject/ounobrtx.html
网友评论