大量的答案是删除~/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

相关文章:

  • 2021-11-24
  • 2022-02-21
  • 2021-05-16
  • 2022-01-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
相关资源
相似解决方案