[!] CDN: trunk Repo update failed - 2 error(s):
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/2/3/6/FDFullscreenPopGesture/1.0/FDFullscreenPopGesture.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/2/3/6/FDFullscreenPopGesture/1.1/FDFullscreenPopGesture.podspec.json Response: Couldn't connect to server
更新完cocoapods 之后 ,报错trunk 连接失败
解决办法:
1 打开podfile文件,顶部添加下面连接 指定旧方式下载
source 'https://github.com/CocoaPods/Specs.git'
2 因为脱离trunk方式,亦可移除trunk
pod repo remove trunk
3 可确认是否已移除trunk
pod repo list
本文详细介绍了在更新CocoaPods后遇到的trunk连接失败错误,并提供了具体的解决方案,包括修改podfile源和移除trunk。
587

被折叠的 条评论
为什么被折叠?



