Podfile.lock、Manifest.lock报错解决
2018-06-10 本文已影响0人
MU_LoveLife
常见错误一
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
![](https://img.haomeiwen.com/i11957130/3b029d1c43e51547.png)
图1报错原因:Podfile.lock、Manifest.lock文件内容不同。
解决方案:保证Podfile.lock、Manifest.lock文件内容完全一样。
常见错误二
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.
![](https://img.haomeiwen.com/i11957130/a434b8e1ed65d468.png)
图2报错原因:工程Info选项卡下Configurations栏目Debug、Release配置为none导致,对应图3。
解决方案:配置Configurations为图4即可。
![](https://img.haomeiwen.com/i11957130/876480fdcc1a91ad.png)
![](https://img.haomeiwen.com/i11957130/a0a27679f516d2ff.png)