美文网首页
[!] CocoaPods could not find com

[!] CocoaPods could not find com

作者: 杨顺光 | 来源:发表于2020-11-24 10:44 被阅读0次

[!] CocoaPods could not find compatible versions for pod "xxx": In snapshot (Podfile.lock):

pod install报错:

[!] CocoaPods could not find compatible versions for pod "xxx":

In snapshot (Podfile.lock):

Analyzingdependencies

[!]CocoaPodscouldnotfindcompatibleversionsforpod"SDWebImage":

Insnapshot(Podfile.lock):

SDWebImage(=5.1.0)

In Podfile:

SDWebImage

None of your spec sources contain a spec satisfying the dependencies:`SDWebImage,SDWebImage(=5.1.0)`.

You have either:

*out-of-datesourcereposwhichyoucanupdatewith`podrepoupdate`orwith`podinstall--repo-update`.

*mistypedthenameorversion.

*notaddedthesourcerepothathoststhePodspectoyourPodfile.

Note:asofCocoaPods1.0,`podrepoupdate`doesnothappenon`podinstall`bydefault.

解决办法:.xcworkspace和Podfile.lock文件删除,重新pod install。

相关文章

网友评论

      本文标题:[!] CocoaPods could not find com

      本文链接:https://www.haomeiwen.com/subject/yzhiiktx.html