github下载的Demo, 很多时候使用到pods, 有的时候因为依赖关系或者版本问题不能编译运行. 出现如 The sandbox is not sync with the Podfile.lock
问题的时候, 如下所示
1 |
diff: /../Podfile.lock: No such file or directory |
解决方法:
关闭当前的项目, 删掉项目文件夹中的
.xcworkspace
, 重新pod install, install 完成之后, 通过新生成的.xcworkspace
打开项目, clean+build即可, 如下所示
1 |
rm -rf MyProject.xcworkspace |
近期评论