The version of CocoaPods used to generate the lockfile

诸葛茂勋
2023-12-01

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'安装
 类似资料:

相关阅读

相关文章

相关问答