一、问题一
使用 Cocoapods 执行 pod install升级项目依赖库或者使用 pod repo update 更新索引库时,终端抛出了如下异常信息:
[!] CDN: trunk Repo update failed - 135 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/1/e/4/AFOAuth2Client/1.0.0/AFOAuth2Client.podspec.json Response: Couldn't connect to server

解决方案:执行 pod repo remove trunk 命令,移除掉trunk源就行了
文章持续更新中、希望对各位有所帮助、有问题可留言 大家共同学习.
网友评论