diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
能夠復現的場景:
github或許git.OSChina下載運用到CocoaPods的Demo,有的時分由於依賴關系或許版本問題不能編譯運轉。
處理方案:
1>封閉以後的任務空間,刪除掉文件夾中的workspace,
2>終端 cd 到工程文件夾 –> 先執行pod setup –> 再執行pod install 即可
錯誤二:
Analyzing dependencies
[!] The dependency `SDWebImage (~> 3.6)` is not used in any concrete target.
The dependency `TTTAttributedLabel` is not used in any concrete target.
The dependency `A.networking (~> 2.6)` is not used in any concrete target.
The dependency `MJRefresh` is not used in any concrete target.
The dependency `MBProgressHUD` is not used in any concrete target.
呈現緣由:
運用cocoapods的時分,podfile文件沒有指定target
處理方案:
1>翻開Podfile –> 指定target
2>例如下:
target 'Demo' do
pod 'SDWebImage',
pod 'TTTAttributedLabel'
pod 'A.networking'
pod 'MJRefresh'
pod 'MBProgressHUD'
end
【記載開發中遇到的Bug<繼續更新...>】的相關資料介紹到這裡,希望對您有所幫助! 提示:不會對讀者因本文所帶來的任何損失負責。如果您支持就請把本站添加至收藏夾哦!