之前碰到過此類問題,原因是之前用了測試版本的pod,然后回歸正式版本,導致找不到pod文件
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.
現在有個解決方案
- 方案一:
收先關閉xcode 然后pod install
如果不行就先刪除xcworkspace Podfile.lock Pods文件夾 ~/Library/Developer/Xcode/DerivedData路徑下對應工程的文件夾
然后 pod install
- 方案二:
pod deintegrate --verbose
pod install --verbose