gpt4 book ai didi

ios - Xcode 6 : Build hangs and Interface Builder Cocoa Touch Tool starts allocating all RAM

转载 作者:IT王子 更新时间:2023-10-29 07:43:34 26 4
gpt4 key购买 nike

我遇到了一个问题,我无法通过在这里或在 Google 上搜索找到解决方案。

我正在构建一个由多个开发人员共享的项目。出于某种原因,我是唯一遇到此问题的人。我多次检查了代码,甚至重新安装了 Xcode。

所以发生的事情是,当我构建项目时,构建过程永远挂起。名为“Interface Builder Cocoa Touch Tool”的进程运行并开始累积 RAM,直到达到 Mac 的限制(16 GB)。此时,一看到我杀了进程,构建就失败了。

在控制台应用程序上我看到了这个:

2014-10-02 4:45:16.013 PM Interface Builder Cocoa Touch Tool[875]: BUG in libdispatch client: kevent[EVFILT_VNODE] add: "Bad file descriptor" - 0x9
2014-10-02 4:45:17.956 PM Interface Builder Cocoa Touch Tool[875]: assertion failed: 13F34: libxpc.dylib + 29453 [75E30F22-514B-3A20-B82C-EDA43AF5C35C]: 0x8d

在 Xcode 上,我看到构建卡在“编译 1 个 Storyboard文件中的 1 个”或“编译 1 个中的 1 个 Assets 目录”。

即使我停止构建,“Interface Builder Cocoa Touch Tool”进程将继续运行并积累 RAM。

我确实看到了两个与 Storyboard相关的警告:

Base.lproj/MainStoryboard.storyboard Frame for "Scroll View" will be different at run time.
Base.lproj/MainStoryboard.storyboard: warning: Unsupported Configuration: Prototype table cells must have reuse identifiers

而且我看到了两个针对 Assets 的警告:

../Images-2.xcassets: A 57x57 app icon is required for iPhone apps targeting releases of iOS prior to 7.0
../Images-2.xcassets: A 57x57@2x app icon is required for iPhone apps targeting releases of iOS prior to 7.0

但我不认为这些是原因。

这是 Xcode 和 Mac 的信息:

2.5 Ghz,Core i7 和 16 GB 内存。操作系统 X 10.9.5。 Xcode 6.0.1。

我们非常欢迎任何帮助。

谢谢。

最佳答案

我遇到了完全相同的问题:在 xcode 中打开 Storyboard导致沙滩球,Interface Builder 任务消耗了所有内存。我通过编辑 Storyboard文件的 xml 和设置让它恢复工作

useAutolayout="NO"

在文档节点中。这当然不是问题的解决方案(这似乎是 xcode 中的错误),因为它破坏了所有约束,但至少我可以再次打开并编译 Storyboard。

关于ios - Xcode 6 : Build hangs and Interface Builder Cocoa Touch Tool starts allocating all RAM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26169559/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com