CocoaPods installed but not working.
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.
enter image description here
sudo gem install cocoapods -v 1.11.0 Password: Successfully installed cocoapods-1.11.0 Parsing documentation for cocoapods-1.11.0 Done installing documentation for cocoapods after 2 seconds 1 gem installed
1条答案
按热度按时间r6hnlfcb1#
你应该试试这个
1.振动式清选机
1.删除/ios/Pod
1.删除/ios/播客文件.lock
1.一种扑击棒
1.从ios文件夹内:pod安装程序
1.Flutter运行
来源:https://stackoverflow.com/a/66001187/19247433