Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Oct 11, 2023
1 parent 3b79c70 commit fe1e5d9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -547,11 +547,15 @@ struct FrameworkBuilder {
}
}
do {
// Frameworks built from only Swift sources will contain only two
// headers: the CocoaPods-generated umbrella header and the
// Swift-generated Swift header. If the framework's `Headers`
// If this point is reached, the framework contains a Swift module,
// so it's built from either Swift sources or Swift & C Family
// Language sources. Frameworks built from only Swift sources will
// contain only two headers: the CocoaPods-generated umbrella header
// and the Swift-generated Swift header. If the framework's `Headers`
// directory contains more than two resources, then it is assumed
// that the framework was built from mixed language sources.
// that the framework was built from mixed language sources because
// those additional headers are public headers for the C Family
// Language sources.
let headersDir = destination.appendingPathComponent("Headers")
let headers = try fileManager.contentsOfDirectory(
at: headersDir,
Expand Down

0 comments on commit fe1e5d9

Please sign in to comment.