almost 2 years ago

嘗試從git clone下來的project 執行
發生以下錯誤

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.

解決辦法

sudo gem install cocoapods-deintegrate
sudo gem install cocoapods
cd /project
pod install