【发布时间】:2020-04-24 17:19:47
【问题描述】:
flutter run -d macOS
Downloading darwin-x64 tools... 107.0s
Downloading darwin-x64-profile tools... 69.7s
Downloading darwin-x64-profile tools... 23.6s
Downloading darwin-x64-release tools... 54.3s
Downloading darwin-x64-release tools... 20.4s
在 macOS 上以调试模式启动 lib/main.dart... 缺少 Pod 文件
当我运行 flutter run -d macOS 代码时,它显示 Podfile 丢失以及如何修复它?
Mac Pro
如何使用 android studio 运行 mac 桌面应用程序?
如果无法从 android studio 运行 macOS 应用程序,那么我需要使用哪个 ide?p>
【问题讨论】:
-
你的项目中是否有一个名为
macOS的目录? -
否,没有名为 macOS 的文件夹
-
试试这个:
flutter config --enable-macos-desktop,然后在你的项目根目录中:flutter create . -
另外你必须在
master频道。 -
我已经准备好运行flutter config --enable-macos-desktop,它不是一个新项目,它是android应用程序的一个旧项目
标签: macos flutter flutter-dependencies podfile flutter-desktop