简体   繁体   English

在Unity3d项目中的Xcode中构建错误

[英]Build error in Xcode on Unity3d project

I'm building with IL2CPP scripting backend. 我正在使用IL2CPP脚本后端构建。 The strange thing is a did a few build already and it worked but now I started getting this error in Xcode : 奇怪的是已经做了一些构建并且它工作但现在我开始在Xcode中收到此错误:

fatal error: error in backend IO failure on output stream. 致命错误:输出流上的后端IO故障出错。 Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 Command / Applications / Xcode.app / Contents / Developer / Toolchains / XcodeDefault.xctoolchain / usr / bin / clang因退出代码1而失败

I already tried reverting the changes I made on the project back to a state were it did build correctly and I still get the same error. 我已经尝试将我在项目上所做的更改恢复到一个状态,如果它确实构建正确,我仍然得到相同的错误。

Project Settings > Under "Targets", select your project > Build Phases > open "Compile Sources" and "Copy Bundle Resources". 项目设置>在“目标”下,选择项目>构建阶段>打开“编译源”和“复制捆绑资源”。 Check if any files are listed in red color. 检查是否有任何文件以红色列出。 If so , just delete it. 如果是这样,只需删除它。 Then clean and run. 然后清洁并运行。

Worked for me 为我工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM