美文网首页
Parse Issue (Xcode): Module 'flu

Parse Issue (Xcode): Module 'flu

作者: 思考蛙 | 来源:发表于2023-05-04 11:40 被阅读0次

【问题描述】:
Parse Issue (Xcode): Module 'fluttertoast' not found
/Users/anand/StudioProjects/untitled/ios/Runner/GeneratedPluginRegistrant.m:11:8

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro.

【解决方案1】:

尝试步骤:

  1. 删除IOS文件夹中的"podfile""podfile.Lock"文件
  2. 终端执行:在IOS文件目录执行flutter clean
  3. 在Android studio的“.yaml”文件中执行flutter pub get
  4. 终端执行:在IOS目录下执行pod install

【讨论】:

  • 感谢您的回答。bt 已经尝试过

【解决方案2】:

尝试安装 cocoapod,它是 swift 和 Objective c 的依赖管理器,然后运行命令

pod deintegrate
pod install

在 Flutter 项目中的 iOS 文件夹中。这应该与我们将在项目中设置的任何 Flutter 插件相同。请同时检查此链接 macos-deploy-to-ios-devices

【讨论】:

  • 已经试过了兄弟\

  • 在安卓设备上试过了吗?

相关文章

网友评论

      本文标题:Parse Issue (Xcode): Module 'flu

      本文链接:https://www.haomeiwen.com/subject/bhexsdtx.html