I am trying to compile app target using new Xcode 10 (beta 6) using Release configuration. Xcode 10 for Release configuration has SWIFT_COMPILATION_MODE set to Whole Module. Compilation unfortunately finishes with mysterious error:
<unknown>:0: error: cannot have input files with file list
Command CompileSwift failed with a nonzero exit code
Does anyone have idea what can be the source of the problem? It's worth to add that changing SWIFT_COMPILATION_MODE to Incremental causes build to succeed.