The version of CocoaPods used to generate the lockfile

来源:互联网 发布:厨具 德国 知乎 编辑:程序博客网 时间:2024/06/06 03:06

Lin-MacBoo$ pod install

Analyzing dependencies

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

[!] Unable to satisfy the following requirements:


- `GoogleMaps (~> 2.1.1)` required by `Podfile`

- `GoogleMaps (= 2.1.1)` required by `Podfile.lock`


None of your spec sources contain a spec satisfying the dependencies: `GoogleMaps (~> 2.1.1), GoogleMaps (= 2.1.1)`.


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.

这是因为资源库没有更新,需要水用'pod repo udapte'命令更新,然后时候'pod install'安装
0 0
原创粉丝点击