Xcode-我更换了硬盘驱动器,现在项目无法构建 [英] Xcode - I changed a hard drive, now project won't build

查看:114
本文介绍了Xcode-我更换了硬盘驱动器,现在项目无法构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我迅速更换了发生故障的硬盘.我检查过的所有文件都没问题.但是,我的Xcode项目无法编译.我收到此消息.

I quickly replaced a failing hard drive. All files I checked seem ok. However, my Xcode projects won't compile. I get this message.

error: PCH was compiled with module cache path '/Volumes/MacintoshHD2/Users/david/Library/Developer/Xcode/DerivedData/ModuleCache/2LN1PGURQ7K4J', but the path is currently '/Volumes/HD1 - DATA/Users/david/Library/Developer/Xcode/DerivedData/ModuleCache/2LN1PGURQ7K4J'

有没有办法解决这个问题?

Is there a way to fix this?

谢谢

推荐答案

我刚刚删除了整个DerivedData文件夹,这对我来说很成功

I just deleted my entire DerivedData folder and that did the trick for me

这篇关于Xcode-我更换了硬盘驱动器,现在项目无法构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆