Podfile文件由原先不带target命令改为带target命令后,
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.
![](https://img-blog.csdn.net/20160529231933984?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
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.
在终端pod update 后
卡在
Update all pods
Updating local specs repositories
处无反应
解决办法: 1. sudo gem update --system 升级ruby环境 2.再次pod update