ERROR swiftc失败,退出代码为1 [英] ERROR swiftc failed with exit code 1
问题描述
我试图将旧swift项目的语法转换为新的一个,根据StackOverflow上的一些建议我尝试将其转换为编辑>转换>转到最新语法,但是我开始得到新错误如下所示
Command / Applications / Xcode.app / Contents / Developer / Toolchains / XcodeDefault.xctoolchain / usr / bin / swiftc
因退出代码1而失败
和
命令/ usr / bin / ditto失败,退出代码为1
来解决它,但它没有帮助。
提前致谢
你试过干净吗? 清理构建文件夹?
组合键是:
ALT + SHIFT + COMMAND + K
I was trying to convert syntax of old swift project to new one as per few suggestion on StackOverflow I tried converting it through Edit > Convert > To latest Syntax that did not work properly instead I started getting new errors shown as below
Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
And
Command /usr/bin/ditto failed with exit code 1
I already tried these steps to resolve it but It did not help.
Thanks in advance
Have you tried to do clean with Clean build folder?
The combination keys is:
ALT + SHIFT + COMMAND + K
这篇关于ERROR swiftc失败,退出代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!