23-10-2017

2017-10-23  本文已影响0人  lifeLL

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放到项目上。。。。。。

上一篇下一篇

猜你喜欢

热点阅读