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):

 

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源

 

posted @ 2019-11-29 17:33  姜晓延  阅读(10076)  评论(0编辑  收藏  举报