Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ struct FrameworkBuilder {
///
/// - Parameter framework: The name of the pod to be built.
/// - Returns: The corresponding framework/module name.
private static func frameworkBuildName(_ framework: String) -> String {
static func frameworkBuildName(_ framework: String) -> String {
switch framework {
case "abseil":
return "absl"
Expand Down
7 changes: 6 additions & 1 deletion ReleaseTooling/Sources/ZipBuilder/ModuleMapBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,11 @@ struct ModuleMapBuilder {
installedPods[name]?.transitiveFrameworks = transitiveFrameworkDeps
installedPods[name]?.transitiveLibraries = transitiveLibraryDeps

return ModuleMapContents(module: name, frameworks: myFrameworkDeps, libraries: myLibraryDeps)
let moduleName = FrameworkBuilder.frameworkBuildName(name)
return ModuleMapContents(
module: moduleName,
frameworks: myFrameworkDeps,
libraries: myLibraryDeps
)
}
}
Loading