美文网首页
23-10-2017

23-10-2017

作者: lifeLL | 来源:发表于2017-10-23 10:24 被阅读0次

    1、今早pod install后 CocoaPods提示:

    Analyzing dependencies
    [!] The version of CocoaPods used to generate the lockfile (1.3.1) is higher than the version of the current executable (1.1.1). Incompatibility issues may arise.
    [!] Unable to satisfy the following requirements:
    
    - `BaiduMapKit` required by `Podfile`
    - `BaiduMapKit (= 3.4.0)` required by `Podfile.lock`
    
    None of your spec sources contain a spec satisfying the dependencies: `BaiduMapKit, BaiduMapKit (= 3.4.0)`.
    
    You have either:
     * out-of-date source repos which you can update with `pod repo update`.
     * mistyped the name or version.
     * not added the source repo that hosts the Podspec to your Podfile.
    
    Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
    
    

    可能是公司网速慢,换另一个wifi,pod install 还是不行,就换pod update --no-repo-update,ok
    2、项目需要改一个需求,改一个第三方框架的cell上的UI,我觉得还是继承该类去改比较好,要不然把整个SDK移出cocoapod放到项目上。。。。。。

    相关文章

      网友评论

          本文标题:23-10-2017

          本文链接:https://www.haomeiwen.com/subject/yxvouxtx.html