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

之前升级了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_第1张图片

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

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

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

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

(3)pod repo remove trunk 移除trunk源

来源:https://www.cnblogs.com/jiang-xiao-yan/p/11959190.html

你可能感兴趣的:(CocoaPods 升级1.8.4的坑 CDN: trunk Repo update failed)