构建时 Xcode 错误
每当我在 Xcode 中编译某些内容时,都会出现 3 个错误。其中之一位于“检查依赖关系”下,并显示“无法创建目录 /var/folders/zZ/字母字符串/更多目录/更多字母”。 Xcode/我的电脑出了什么问题?我切换到 Xcode 4 预览版,工作正常,但不稳定。是的,我已经尝试过重新启动。这种情况已经持续了好几个星期了。感谢您的帮助。
Whenever I compile something in Xcode, I get 3 errors. One is under "Checking dependencies" and says "Unable to create directory /var/folders/zZ/string of letters/more directories/more letters." What is wrong with Xcode/my computer? I switched to the Xcode 4 preview and that works fine, but is not stable. Yes, I have tried restarting. This has been going on for weeks. Thanks for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我有一个类似的问题,在切换到 xcode 4 后出现。错误是:
错误:无法创建“/build”(权限被拒绝)
解决方案是在项目配置中将“/build”更改为“build”中间构建文件路径。
在你的情况下,我猜测 pch 文件有一个以“/”开头的路径。
I had a similar issue, which showed up after switching to xcode 4. The error was:
error: unable to create '/build' (Permission denied)
The solution was to change '/build' to 'build' in the project configuration under Intermediate Build File Path.
In your case I would guess the pch file has a path that starts with '/'.