解决 项目cocoapods diff: /../Podfile.lock: No such file or directory
生活随笔
收集整理的這篇文章主要介紹了
解决 项目cocoapods diff: /../Podfile.lock: No such file or directory
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
解決cocoapods diff: /../Podfile.lock: No such file or directory
最近把以前代碼放到新電腦上運行,在執行pod update之后build工程遇到如下提示:
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,之后再重新打開Xcode運行。
-
方案二:
稍微復雜一點,刪除以下文件:
xcworkspace
Podfile.lock
Pods文件夾
~/Library/Developer/Xcode/DerivedData路徑下對應工程的文件夾然后重新執行pod install
如果以上兩個方案對你有用的話,恭喜你,下面的可以不用看了,如果你像我一樣倒霉,仍然運行不起來的話,來來來,咱們繼續
轉載于:https://www.cnblogs.com/Stone-Yuan/p/6875244.html
總結
以上是生活随笔為你收集整理的解决 项目cocoapods diff: /../Podfile.lock: No such file or directory的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C++ 函数模版
- 下一篇: kalman滤波器公式的推导