PCH was compiled with module cache oldpath newpath解决办法

来源:互联网 发布:中国网络远程学校 编辑:程序博客网 时间:2024/06/04 19:38

我们在用xcode编译时,因为项目由oldpath拷贝到newpath遇到题目所描述的问题,可以进行如下操作可解决问题:
1.Close your project or workspace.
2.In Finder: ⇧shift+⌘cmd+G
3.Paste: ~/Library/Developer/Xcode/DerivedData/
4.Delete the ModuleCache folder and empty trash.
5.Delete the yourProject/build/ModuleCache folder and empty trash.
6.Open up your project.
7.Clean: ⇧shift+⌘cmd+K
8.Build: ⌘cmd+B

1 0
原创粉丝点击