Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Jul 27, 2023
1 parent a5f85d7 commit 64553c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ReleaseTooling/Sources/ZipBuilder/ModuleMapBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ struct ModuleMapBuilder {
private func generate(framework: FrameworkInfo) {
let podName = framework.versionedPod.name
let deps = CocoaPodUtils.transitiveVersionedPodDependencies(for: podName, in: allPods).filter {
// Don't include Interop pods in the module map calculation since they shouldn't add anything
// and it uses the platform-independent version of the dependency list, which causes a crash
// for the iOS-only RecaptchaInterop pod when the subsequent code tries to `pod install` it
// for macOS. All this module code should go away when we switch to building dynamic frameworks.
!$0.name.hasSuffix("Interop")
}

Expand Down

0 comments on commit 64553c9

Please sign in to comment.