問(wèn)題:運(yùn)行老項(xiàng)目時(shí)遇到如下報(bào)錯(cuò)提示
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.
解決思路:移除cocopods后重新安裝
1、打開(kāi)終端,安裝快速解除項(xiàng)目cocopods依賴的庫(kù)
運(yùn)行: sudo gem install cocoapods-deintegrate
2、安裝成功后,cd到你項(xiàng)目的更目錄-->解除項(xiàng)目cocopods依賴
運(yùn)行: pod deintegrate
3、重新安裝cocopods
運(yùn)行: pod install