常见错误一
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
图1图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.
图2报错原因:工程Info选项卡下Configurations栏目Debug、Release配置为none导致,对应图3。
解决方案:配置Configurations为图4即可。 图3
图4
网友评论