之前升級了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源