CocoaPods could not find compati

2018-09-26  本文已影响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一下就好了!

上一篇下一篇

猜你喜欢

热点阅读