Podfile.lock
生活随笔
收集整理的這篇文章主要介紹了
Podfile.lock
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
今天更新CocoaPads的時(shí)候突然遇到以下問(wèn)題,而且感覺(jué)pch文件一下子不管用了,在此記錄一下:
[!] CocoaPods could not find compatible versions for pod "MJRefresh":In snapshot (Podfile.lock):MJRefresh (= 3.1.15.3)In Podfile:MJRefreshNone of your 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 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.解決方法:把.xcworkspace和Podfile.lock文件刪除,重新pod install一下就好了.
鏈接:https://www.jianshu.com/p/1950da79b79b
總結(jié)
以上是生活随笔為你收集整理的Podfile.lock的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: HTTP协议的工作原理
- 下一篇: php中文九九乘法表,PHP输出九九乘法