Commit b91df898 authored by Samuel E. Giddins's avatar Samuel E. Giddins

Merge pull request #4269 from CocoaPods/seg-fix-dependent-target-scoping

[PodTarget] Filter the scoped dependent_targets to match the target_d…
parents e3fd4dec 91de4c14
...@@ -66,7 +66,7 @@ module Pod ...@@ -66,7 +66,7 @@ module Pod
target.user_build_configurations = user_build_configurations target.user_build_configurations = user_build_configurations
target.native_target = native_target target.native_target = native_target
target.archs = archs target.archs = archs
target.dependent_targets = dependent_targets.flat_map(&:scoped) target.dependent_targets = dependent_targets.flat_map(&:scoped).select { |pt| pt.target_definitions == [target_definition] }
end end
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment