zoukankan      html  css  js  c++  java
  • pod install出现[!] /bin/bash -c错误,Installing Realm报错

    pod install出现错误,具体错误信息如下:

    Installing Realm (1.0.2)
    [!] /bin/bash -c 
    set -e
    sh build.sh cocoapods-setup
    
    core is not a symlink. Deleting...
    Downloading dependency: core 1.3.1
    Downloading core failed:
    curl: (35) Server aborted the SSL handshake

     根据提示curl: (35) Server aborted the SSL handshake,发现curl无法访问https,网上找到资料

    brew install curl  //使用这条命令升级curl

    升级完成之后

    brew link curl --force

    然后

    rm -rf Pods  删除工程目录下的pods文件夹,然后重新pod install,耐心等待一段时间Realm更新就会成功

  • 相关阅读:
    405
    406
    4-1
    3-11
    3-10
    3-9
    3-8
    3-7
    3-5
    3-4
  • 原文地址:https://www.cnblogs.com/wobuyayi/p/5732576.html
Copyright © 2011-2022 走看看