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

场景: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)