【发布时间】:2020-11-27 20:10:46
【问题描述】:
颤动运行
在 iPhone 11 上以调试模式启动 lib/main.dart... ProcessException:进程异常退出: 命令行调用: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list
xcodebuild: error: 目录/Users/iven/Desktop/user-app/ios 包含2个项目,包括多个项目与当前 扩展名(.xcodeproj)。使用 -project 选项指定要使用的项目。 命令:/usr/bin/xcodebuild -list
【问题讨论】:
-
我删除了重复的文件并运行了这个:sudo rm -Rf /Users/iven/.pub-cache sudo rm -Rf packages rm ios/Podfile flutter clean and flutter run 然后我得到了这个:.. .. 无法为模拟器构建应用程序。在 iPhone 11 上启动应用程序时出错。
标签: ios flutter visual-studio-code