[!] Unable to find a pod with name, author, summary, or description matching `AFNetworking`

释放双眼,带上耳机,听听看~!

大量的答案是删除~/Library/Caches/CocoaPods/search_index.json  没有起作用

有用答案:

 

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

人已赞赏
iOS文章

iOS关于CGRect的知识

2020-6-16 14:18:08

iOS文章

duplicate symbols for architecture arm64 报错

2020-8-21 21:00:00

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索