zoukankan      html  css  js  c++  java
  • CocoaPods could not find compatible versions for pod

    解决方案是执行: 

     pod repo update --verbose

    再执行命令:

    pod install

    如果还是出错,删除podfile.lock文件

    如果还报错就删除 第三方库的版本再次执行pod install就可以了

    //以下是报错的问题

    superlee-MacBook-Pro ios_code_new_warehouse % pod install  

    Analyzing dependencies

    [!] The version of CocoaPods used to generate the lockfile (1.11.0) is higher than the version of the current executable (1.10.1). Incompatibility issues may arise.

    [!] CocoaPods could not find compatible versions for pod "JMLink":

      In snapshot (Podfile.lock):

        JMLink (= 1.2.4)

      In Podfile:

        JMLink (= 1.2.4)

    None of your spec sources contain a spec satisfying the dependencies: `JMLink (= 1.2.4), JMLink (= 1.2.4)`.

    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.

    lichao@superlee-MacBook-Pro ios_code_new_warehouse % pod install

    Analyzing dependencies

    [!] CocoaPods could not find compatible versions for pod "JMLink":

      In Podfile:

        JMLink (= 1.2.4)

    None of your spec sources contain a spec satisfying the dependency: `JMLink (= 1.2.4)`.

    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.

  • 相关阅读:
    敏捷21天打卡-AARRR模型
    敏捷21天打卡-精益产品开发最佳实践 之 “AB测试"
    21天敏捷打卡-MVP
    敏捷21天打卡-精益产品开发最佳实践 之 “电梯演讲"
    敏捷21天打卡-精益画布
    敏捷21天打卡--精益产品开发
    21天敏捷打卡--敏捷方法实现
    敏捷21天打卡-在敏捷环境中交付
    敏捷21天打卡-创建敏捷环境
    敏捷21天打卡-生命周期
  • 原文地址:https://www.cnblogs.com/supersr/p/15428161.html
Copyright © 2011-2022 走看看