gpt4 book ai didi

xcode - 如何修复 : Xcode 9 building loop until exit code 255

转载 作者:行者123 更新时间:2023-12-04 16:05:21 26 4
gpt4 key购买 nike

请不要标记为重复,因为可用线程没有提供有效的解决方案。

由于 Xcode 9,我的一个项目陷入了构建循环。

该项目正在 build 中。在 iPhone 上运行并一次又一次地构建。甚至在编码时一遍又一遍地构建而不要求构建或运行。

清理,清理构建文件夹,删除派生数据并重新启动后,构建后项目崩溃:

Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255. The tool may have crashed. Please file a bug report at http://bugreport.apple.com with the above output and attach any crash logs for ibtool, ibtoold, Xcode, and Interface Builder Cocoa Touch Tool created around the time of this failure. These logs can be found in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports.



经过几次清理和重新启动后,它终于构建了,经过几次构建和代码更改后,整个过程重新启动。即使不要求构建直到 255 退出代码,构建也会陷入循环。

我错过了什么?非常感谢帮助。

最佳答案

我们也遇到了这个问题,它让我们发疯了。解决方法是将“IBToolNeverDeque”环境变量设置为“1”,这将修改 ibtool 的行为并使其更加稳定。我们刚刚发布了一篇关于此特定问题的详细博客文章以及我们如何找到此解决方案 here .

一件很好的事情是找到一种简单的方法来设置环境变量,以便在使用 Xcode 时设置它。如果可能,请在您的系统上全局设置它。

关于xcode - 如何修复 : Xcode 9 building loop until exit code 255,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46432479/

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