pods 报错


[!] 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"

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。