Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Warning: CocoaPods is installed but broken. Skipping pod install.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods. For more info, see https://github.com/flutter/flutter/issues/14293.
To re-install:
sudo gem install cocoapods
CocoaPods not installed or not in valid state.
Error launching application on iPhone 11 Pro Max.
发布于 2020-09-22 23:13:51
通常,这是由于visual studio或IntelliJ无法找到路径或关联的插件或扩展而导致的。
以下是解决方案:
cocoapods
或编辑器
如果没有完全关闭项目,最后一步应该可以解决问题。
发布于 2020-07-13 15:55:11
这个问题可能是因为您安装了cocoapods的多个版本。
您可以运行以下命令来检查和解决该问题:
gem list
检查多个版本的cocoapod是否为installedsudo gem uninstall cocoapods
它将提示您选择要卸载的版本,或者是否要卸载allsudo gem install cocoapods
如果您卸载了所有cocoapods,则需要执行其他步骤
切换到Flutter project
pod install
的
这样就可以在iOS设备上运行xcode构建了。
发布于 2020-09-20 19:09:42
在可视化代码上重新安装flutter扩展已修复此问题
https://stackoverflow.com/questions/62593939
复制相似问题