构建错误:时间机器恢复到新 SSD 后找不到文件 (Xcode)
我将时间机器备份恢复到我的新 SSD 上。从那时起,我无法再构建我的 Xcode 项目了。 它在 #import 行给了我一个错误,说 找不到“Three20/Three20.h”文件。
这怎么可能,文件仍然在那里,在同一个地方。我什至不知道从哪里开始寻找。有什么想法或线索吗?
I restored a time-machine backup onto my new SSD. Since then, I can't build my Xcode project anymore.
It gives me an error at the #import line, saying
'Three20/Three20.h' file not found.
How is that possible, the files are still there, in the same place. I don't even know where to start searching. Any ideas or clues?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的标头搜索文件可能缓存在 Xcode 缓存文件夹中,当您从时间机器恢复时,这些缓存文件不会恢复。
如果需要,请尝试比较两个项目中的标题搜索文件夹以查看差异。
该项目应该具有这些:(假设您的项目与 Three20 位于同一文件夹中)
your header search files probably were cached inside Xcode cache folder and when you restore from time machine, these cache files weren't restored.
if you want, try to compare the header search folder in both projects to see the difference.
The project should have these: (assuming your project is located on the same folder as three20 is)