Podfile.lock
生活随笔
收集整理的這篇文章主要介紹了
Podfile.lock
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天更新CocoaPads的時候突然遇到以下問題,而且感覺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
總結
以上是生活随笔為你收集整理的Podfile.lock的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: HTTP协议的工作原理
- 下一篇: SubSonic的配置及运用