Parse Issue (Xcode): Module 'flu

2023-05-04  本文已影响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

【讨论】:

【解决方案2】:

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

pod deintegrate
pod install

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

【讨论】:

上一篇下一篇

猜你喜欢

热点阅读