本文介绍了CocoaPods未安装或未处于有效状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
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 github/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.
推荐答案
sudo gem卸载cocoapodssudo gem install cocoapods 重新启动IDE或编辑器
通常是由于Visual Studio或IntelliJ无法找到路径或关联的插件或扩展名而导致的.解决方案:
usually this happens due to visual studio or IntelliJ not able to find the path or associated plugin or extension. solution:
如果没有完全关闭项目,最后一步应该可以解决问题
the last step should solve the issue if not close the project entirely
更多推荐
CocoaPods未安装或未处于有效状态
发布评论