今天更新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一下就好了!