【iOS】Cocoapods问题
2020-05-22 本文已影响0人
在这蓝色天空下
1、连接超时
[!] CDN: trunk Repo update failed - 13 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/f/f/3/WechatOpenSDK/1.7.7/WechatOpenSDK.podspec.json, error: Net::OpenTimeout
CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/f/f/3/WechatOpenSDK/1.7.8/WechatOpenSDK.podspec.json, error: Net::OpenTimeout
CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/f/f/3/WechatOpenSDK/1.7.9/WechatOpenSDK.podspec.json, error: Net::OpenTimeout
解决问题:
//移除本地trunk数据源
pod repo remove trunk
//更新本地数据源
pod install --repo-update