search

Home  >  Q&A  >  body text

ios - 不知道是不是删了个东西,Cocoapods pod setup 老是出错,求大神解决!!!

Setting up CocoaPods master repo
[!] /usr/bin/git clone https://github.com/CocoaPods/... master

Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/...': SSLRead() return error -36

不知道是不是删了什么东西,pod setup 老是出错,网上查了很多解决方案都行不通。手动git clone 也报

高洛峰高洛峰2771 days ago617

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-18 09:51:46

    You can refer to this article: https://segmentfault.com/a/11...
    It is recommended to reset the master after removing it

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:51:46

    Just use the domestic mirror.

    cd ~/.cocoapods/repo
    git clone https://git.coding.net/CocoaPods/Specs.git master

    Then just execute it pod install directly in your project directory without setup repo.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:51:46

    http://blog.csdn.net/www9500n... I always reported errors before, but then I changed the network and used my mobile hotspot and everything was fine

    reply
    0
  • Cancelreply