欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2024-03-11 17:42:01
...

场景:pod update 、pod search

结果:[!] CDN: trunk Repo update failed - 19 error(s):

 

解决:

pod repo remove trunk

继续 pod search xxx

结果:

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

继续 pod install

结果:

Analyzing dependencies
Cloning spec repo `cocoapods` from `https://github.com/CocoaPods/Specs.git`
^C[!] Cancelled

卡住,*cancelled

解决:依次执行

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

pod search MJ

结果:weaked!!!

相关标签: pod pod