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就都正常了!

 

相关链接

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

 

  1. 官方说明
  2. Github Issules

相关文章:

  • 2021-06-18
  • 2022-01-20
  • 2021-11-04
  • 2021-07-22
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-06
  • 2021-09-29
  • 2021-06-18
  • 2021-11-13
  • 2021-08-05
  • 2021-09-08
相关资源
相似解决方案