当转换为在 Xcode 10 上使用新的构建系统时,我的几个扩展目标的输出中出现以下错误。
<unknown>:0: error: if any output files are specified, they all must be
Command CompileSwift failed with a nonzero exit code
我在网上寻找了解决方案,但我能找到的对此错误的唯一参考是 Swift 编译器源代码本身。
- https://www.google.com/search?q=error_if_any_output_files_are_specified_they_all_must_be https://www.google.com/search?q=error_if_any_output_files_are_specified_they_all_must_be
有谁知道这个错误实际上是如何触发的,或者我可以做些什么来修复它?
好的,我在我们的一个项目中遇到了同样的问题。构建或归档总是因错误而停止<unknown>:0: error: if any output files are specified, they all must be
.
The 为我们提供的解决方案是要设置Compilation Mode
to Incremental
代替Whole Module
.
This means, you have to ignore the Validate Project Settings
warning:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)