zoukankan      html  css  js  c++  java
  • pod install 报错

    错误信息

    [!] CocoaPods could not find compatible versions for pod "JYCustomSegmentView":
      In Podfile:
        JYCustomSegmentView (~> 0.1.8)
    
    None of your spec sources contain a spec satisfying the dependency: `JYCustomSegmentView (~> 0.1.8)`.
    
    You have either:
     * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
     * mistyped the name or version.
     * not added the source repo that hosts the Podspec to your Podfile.
    

      

    此时 说本机的 例如 Podfile中AFNetworking的版本更新到了3.1.0,但是本地.cocoapods下找不到相应的配置文件。

    本地库太老了。。 你要更新一下子:Updating local specs repositories 

    pod repo update实际是本地 更新整个.cocoapods下的所有库

     

    sudo gem install cocoapods 更新最新版本的pod

  • 相关阅读:
    CodeForces 460B
    CodeForces 456A
    CodeForces462B
    HDU1394(线段树||树状数组)
    HDU1541(树状数组)
    HDU1556(树状数组)
    HDU5726(RMQ&&二分)
    POJ1182(并查集)
    HDU4496(并查集)
    HDU3038(并查集)
  • 原文地址:https://www.cnblogs.com/qingzZ/p/11790572.html
Copyright © 2011-2022 走看看