美文网首页
Unable to find a pod with name,

Unable to find a pod with name,

作者: 日拱一卒wu | 来源:发表于2021-12-28 15:35 被阅读0次

pod安装成功,执行了 init install,执行pod search命令时遇到问题:

[!] Unable to find a pod with name, author, summary, or description matching `bugly`

网上很多删除search_index文件的,都不行。
步骤:

pod repo remove master
cd ~/.cocoapods/repos
git clone --depth 1 https://github.com/CocoaPods/Specs.git master
rm ~/Library/Caches/CocoaPods/search_index.json
//进去项目工程执行search
pod search bugly

2、结果:

Setup completed
Creating search index for spec repo 'master'.. Done!

相关文章

网友评论

      本文标题:Unable to find a pod with name,

      本文链接:https://www.haomeiwen.com/subject/osmpqrtx.html