Command CompileSwiftSources failed with a nonzero exit code

Xcode 编译提示Command CompileSwiftSources failed with a nonzero exit code,却没有明确指出问题的来源,此时可以通过在Build Setting里面自添加一条user-defined(点击Level 右边的+号就可以添加),属性为SWIFT_ENABLE_BATCH_MODE, 并把值设为NO,设置完成后重新编译即可。

你可能感兴趣的:(Command CompileSwiftSources failed with a nonzero exit code)