大量的答案是删除~/Library/Caches/CocoaPods/search_index.json 没有起作用
有用答案:
https://blog.csdn.net/qq_35827461/article/details/89448062
https://www.jianshu.com/p/dbfdece084d5
1, pod repo remove master
2, cd ~/.cocoapods/repos
3, git clone --depth 1 https://github.com/CocoaPods/Specs.git master
4, rm ~/Library/Caches/CocoaPods/search_index.json
5, pod search afnetworking
内容来源于网络如有侵权请私信删除
文章来源: 博客园
- 还没有人评论,欢迎说说您的想法!