diff --git a/apple/swift/swift_compilation.bzl b/apple/swift/swift_compilation.bzl index 41b15c7fc..42fdab6fd 100644 --- a/apple/swift/swift_compilation.bzl +++ b/apple/swift/swift_compilation.bzl @@ -500,6 +500,9 @@ def _compile_swiftmodule( "-Xfrontend", "-compile-module-from-interface", output_swiftinterface, + # The new driver will fail with "error: no input files" + # so use the legacy driver until we add functionality for this. + "-disallow-use-new-driver", "-o", output_swiftmodule.as_output(), ])