pods 报错

2020-05-23  本文已影响0人  敲代码的小源er感觉自己萌萌哒

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

[!] CocoaPods could not find compatible versions for pod "mob_sharesdk/ShareSDKExtension":

  In snapshot (Podfile.lock):

    mob_sharesdk/ShareSDKExtension (= 4.3.4)

  In Podfile:

    mob_sharesdk/ShareSDKExtension

None of your spec sources contain a spec satisfying the dependencies: `mob_sharesdk/ShareSDKExtension, mob_sharesdk/ShareSDKExtension (= 4.3.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.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

解决方法" pod repo update" 或者 "pod install --repo-update"

上一篇下一篇

猜你喜欢

热点阅读