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!
网友评论