The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

出现这样的错误:

error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

具体如图:

The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

我按照提示在终端打开工程,pod install 和 pod update 都试了一遍,然并卵。只好拿出杀手锏:

Project -> Info -> Configurations -> Debug 改为 Pods.debug, Release 改为 Pods.release, 如图所示:

The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

搞定啦!

上一篇:RM报表预览,只有固定的1个订单页面


下一篇:hdu - 1068 Girls and Boys (二分图最大独立集+拆点)