之前升级了cocoaPods 版本1.8.4,今天pod install,然后问题就来了:

1、出现了下边的问题:

Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`

[!] CDN: trunk Repo update failed - 58 error(s):

CocoaPods 升级1.8.4的坑 CDN: trunk Repo update failed

 

2、网上看了半天,说在podfile中添加source ‘https://github.com/CocoaPods/Specs.git’,我添加了,报错从58边成了9

CocoaPods 升级1.8.4的坑 CDN: trunk Repo update failed

3、问题仍然没解决,之后只能釜底抽薪了

(1)podfile添加source 'https://github.com/CocoaPods/Specs.git'

(2)pod repo list 查看一下源列表

(3)pod repo remove trunk 移除trunk源

 

相关文章:

  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2021-12-01
  • 2021-06-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案