美文网首页
CocoaPods 使用问题库

CocoaPods 使用问题库

作者: 一滴矿泉水 | 来源:发表于2022-02-11 09:04 被阅读0次

一、问题一

使用 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

截屏2022-02-11 上午9.01.17.png

解决方案:执行 pod repo remove trunk 命令,移除掉trunk源就行了


文章持续更新中、希望对各位有所帮助、有问题可留言 大家共同学习.

相关文章

网友评论

      本文标题:CocoaPods 使用问题库

      本文链接:https://www.haomeiwen.com/subject/mzlakrtx.html