File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
ReleaseTooling/Sources/ZipBuilder Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,14 @@ struct ModuleMapBuilder {
128
128
/// to make sure we install the right version and from the right location.
129
129
private func generate( framework: FrameworkInfo ) {
130
130
let podName = framework. versionedPod. name
131
- let deps = CocoaPodUtils . transitiveVersionedPodDependencies ( for: podName, in: allPods)
131
+ let deps = CocoaPodUtils . transitiveVersionedPodDependencies ( for: podName, in: allPods) . filter {
132
+ // Don't include Interop pods in the module map calculation since they shouldn't add anything
133
+ // and it uses the platform-independent version of the dependency list, which causes a crash
134
+ // for the iOS-only RecaptchaInterop pod when the subsequent code tries to `pod install` it
135
+ // for macOS. All this module code should go away when we switch to building dynamic
136
+ // frameworks.
137
+ !$0. name. hasSuffix ( " Interop " )
138
+ }
132
139
133
140
CocoaPodUtils . installPods ( allSubspecList ( framework: framework) + deps,
134
141
inDir: projectDir,
You can’t perform that action at this time.
0 commit comments