從git上clone下來代碼后,編譯的時候發現以下錯誤:
diff: /../Podfile.lock: No such fileordirectory ? ?
diff: /Manifest.lock: No such fileordirectory error: The sandboxisnotinsyncwiththe Podfile.lock. ?
?Run'pod install'orupdate your CocoaPods installation.
解決方案如下:
1.找到項目根目錄下的Podfile.lock文件,和Pods文件夾下的Manifest.lock文件
2.然后復制Podfile.lock文件的內容替換掉Manifest.lock文件內的內容,好啦,至此問題解決
參考鏈接:點擊這里