Commit 325986e3 authored by Marius Rackwitz's avatar Marius Rackwitz

[Analyzer] Don't deduplicate cross platform

parent 66595cd1
......@@ -289,7 +289,9 @@ module Pod
# or the one which exists differs in the activated subspec set, then
# we need to generate another pod target
root_spec = pod_specs.first.root
common_root_pod_targets = pod_targets.select { |t| t.root_spec == root_spec }
common_root_pod_targets = pod_targets.
select { |t| t.platform == target.platform }.
select { |t| t.root_spec == root_spec }
if common_root_pod_targets.count != 1 || common_root_pod_targets.first.specs != pod_specs
pod_target = generate_pod_target(target, pod_specs)
unless common_root_pod_targets.empty?
......
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