pod search 报错 (更新了macOS Catalina)

Posted qingzz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pod search 报错 (更新了macOS Catalina)相关的知识,希望对你有一定的参考价值。

 

pod search AFN  如下错误

[!] CDN: trunk Repo update failed - 2 error(s):
CDN: trunk URL couldn‘t be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/4/a/2/afn/1.0.0/afn.podspec.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn‘t be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/4/a/2/afn/1.2.0/afn.podspec.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for "raw.githubusercontent.com" port 443)

  

执行pod repo remove trunk移除trunk源,pod search就都正常了!

 

相关链接

[!] CDN: trunk Repo update failed

https://www.jianshu.com/p/bf1cbe49cb5d

 

  1. 官方说明
  2. Github Issules

以上是关于pod search 报错 (更新了macOS Catalina)的主要内容,如果未能解决你的问题,请参考以下文章

更新和添加新 pod ios 时出错

升级了xcode9.3 导致pod里的kissxml报错

20161209pod search 'fmdb'提示[!] Unable to find a pod with name, author, summary, or descripti

macOS更新系统后 brew 安装报错不支持pre-release version

Cocoapods ----- pod install报错

Cocopods Search失败的坑