ios 错误::CocoaPods已安装但无法工作,您似乎已安装CocoaPods但无法工作

ddrv8njm  于 2022-11-19  发布在  iOS
关注(0)|答案(1)|浏览(445)
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

r6hnlfcb

r6hnlfcb1#

你应该试试这个
1.振动式清选机
1.删除/ios/Pod
1.删除/ios/播客文件.lock
1.一种扑击棒
1.从ios文件夹内:pod安装程序
1.Flutter运行
来源:https://stackoverflow.com/a/66001187/19247433

相关问题