美文网首页
CocoaPods could not find compati

CocoaPods could not find compati

作者: 前路星辰大海 | 来源:发表于2018-09-26 10:01 被阅读0次

今天更新CocoaPads的时候突然遇到以下问题

[!] CocoaPods could not find compatible versionsforpod"MJRefresh":  In snapshot (Podfile.lock):    MJRefresh (=3.1.15.3)  In Podfile:    MJRefreshNoneofyour spec sources contain a spec satisfying the dependencies:`MJRefresh, MJRefresh (= 3.1.15.3)`.You have either: * out-of-date source repos which you can updatewith`pod repo update`orwith`pod install --repo-update`. * mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile.Note:asofCocoaPods1.0,`pod repo update`does not happen on`pod install`bydefault.

解决方法:把.xcworkspace和Podfile.lock文件删除,重新pod install一下就好了!

相关文章

网友评论

      本文标题:CocoaPods could not find compati

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