Unable to find a pod with name,

2021-03-04  本文已影响0人  雨林QiQi

pod search JPush出现

Unable to find a pod with name, author, summary, or description matching 'JPush'

多数情况下是search_index.json没起作用,解决办法是删除这个文件,然后再执行pod search...

cd ~/.cocoapods/repos
rm ~/Library/Caches/CocoaPods/search_index.json

如果以上方法不生效,那只好费点时间,把索引库重新down一下了。

cd ~/.cocoapods/repos
pod repo remove master
pod repo add master https://github.com/CocoaPods/Specs.git
rm ~/Library/Caches/CocoaPods/search_index.json
pod search JPush
上一篇下一篇

猜你喜欢

热点阅读