构建时 Xcode 错误

发布于 2024-10-04 06:37:26 字数 180 浏览 0 评论 0原文

每当我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

临走之时 2024-10-11 06:37:26

我有一个类似的问题,在切换到 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 '/'.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文