zoukankan      html  css  js  c++  java
  • iOS--------cocoapods遇到的问题

    出现以下问题  更换镜像试一下

     参考

    https://juejin.im/post/5dce6dc4e51d453d63662718

    https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git

     http://www.jeepxie.net/article/729025.html

    $ cd ~/.cocoapods/repos
    $ pod repo remove master
    $ git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master

    unable to access 'https://github.com/CocoaPods/Specs.git/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60

    [!] CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.17/TXIMSDK_iOS.podspec.json Response: Timeout was reached

    [!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `cocoapods`.

    (/usr/bin/git clone https://github.com/CocoaPods/Specs.git -- cocoapods

    Cloning into 'cocoapods'...

    error: RPC failed; curl 18 transfer closed with outstanding read data remaining

    fatal: the remote end hung up unexpectedly

    fatal: early EOF

    fatal: index-pack failed

    )

    You can try adding it manually in `/Users/zwq/.cocoapods/repos` or via `pod repo add`.

    [!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git -- master

    Cloning into 'master'...

    error: RPC failed; curl 18 transfer closed with outstanding read data remaining

    fatal: the remote end hung up unexpectedly

    fatal: early EOF

    fatal: index-pack failed

    [!] Unable to find a pod with name, author, summary, or description matching `UMCPush`

     删除~/Library/Caches/CocoaPods目录下的search_index.json文件

    pod setup成功后

    再执行pod search UMCPush

  • 相关阅读:
    抓取国家地区基础数据
    h264
    h.264
    vlc 推送rtsp视频流不能播放
    花生壳tcp内网端口映射
    make 安装时指定目录
    ubuntu安装vsftpd
    vsftpd命令
    vim删除某一列
    linux打开防火墙
  • 原文地址:https://www.cnblogs.com/KiVen2015/p/13374893.html
Copyright © 2011-2022 走看看