编译出现Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1错误
来到Preference-Locations,去到DerivedData文件夹,把里面的文件都删掉,重新编译。

本文介绍了一种常见的Swift编译时出现的错误:Command/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1。并提供了解决方案:通过清理DerivedData文件夹内的所有文件,然后重新编译项目来修复该问题。
编译出现Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1错误
来到Preference-Locations,去到DerivedData文件夹,把里面的文件都删掉,重新编译。

399
6万+
7744
4664

被折叠的 条评论
为什么被折叠?