如何解決diff: /../Podfile.lock: No such file or directory 的問題


之前碰到過此類問題,原因是之前用了測試版本的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

 

    

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM