美文网首页
【iOS】Cocoapods问题

【iOS】Cocoapods问题

作者: 在这蓝色天空下 | 来源:发表于2020-05-22 16:54 被阅读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
    

    相关文章

      网友评论

          本文标题:【iOS】Cocoapods问题

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