[!] 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!!!
上一篇: Docker 常用命令汇总
下一篇: docker常用命令汇总