Unable to find a pod with name,

2021-12-28  本文已影响0人  日拱一卒wu

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!
上一篇 下一篇

猜你喜欢

热点阅读