diff --git a/ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift b/ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift index d322aa91ec4..ece6045b170 100755 --- a/ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift +++ b/ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift @@ -456,17 +456,13 @@ struct FrameworkBuilder { buildingCarthage: buildingCarthage) { return buildingCarthage } - // Copy the module map to the destination. - let moduleDir = destination.appendingPathComponent("Modules") - do { - try FileManager.default.createDirectory(at: moduleDir, withIntermediateDirectories: true) - } catch { - let frameworkName: String = frameworks.first?.lastPathComponent ?? "