美文网首页
CDN: trunk URL couldn't be downl

CDN: trunk URL couldn't be downl

作者: ask_ME | 来源:发表于2020-06-02 10:08 被阅读0次

    错误信息

    CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/0/3/5/Firebase/6.9.0/Firebase.podspec.json Response: SSL peer certificate or SSH remote key was not OK
    

    解决思路

    由于 pod 重新安装,没有执行 pod update, 导致 pod 仓库没有同步下来造成的。
    解决办法就是 pod update过程很漫长。当然也可以切换为清华源,不做介绍了
    通过pod repo来检查本地是否有 cocoapods 仓库

    ~ » pod repo
    
    cocoapods
    - Type: git (master)
    - URL:  https://github.com/CocoaPods/Specs.git
    - Path: /Users/mac/.cocoapods/repos/cocoapods
    
    trunk
    - Type: CDN
    - URL:  https://cdn.cocoapods.org/
    - Path: /Users/mac/.cocoapods/repos/trunk
    
    2 repos
    

    CocoaPods 清华镜像使用帮助

    Pod 常见问题解决

    iOS 卡住在 Cloning spec repo 'cocoapods' from 'https://github.com/CocoaPods/Specs.git'

    相关文章

      网友评论

          本文标题:CDN: trunk URL couldn't be downl

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