我有一个由flutter创建的应用程序。我想为iOS构建它,当我想将它存档在XCode中时,它会给我这个错误:
Module Flutter_inappweview not found
我做了但没能解决的步骤:
我在XCode中使用了Runner.xcworkspace。
我通过cmd+Shift+k在XCode中清理了它。
我删除了Pod文件夹和.lock文件并重建了应用程序。
当我删除@import flatter_inappwebview这行时,它会说:
Module Flutter_sharedpreference not found
我该如何解决
试试这个:
- 清理xcode项目或flutter清理
- 在项目目录类型"flutter pub-get"打开终端
- cd到ios文件夹类型"pod安装">