我们在用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
PCH was compiled with module cache oldpath newpath解决办法
最新推荐文章于 2024-09-14 18:22:45 发布