Commit 1755ce4f authored by Samuel E. Giddins's avatar Samuel E. Giddins

[PodTarget] Ensure the list of dependent targets is copied when scoping

parent 39ba796a
......@@ -54,6 +54,7 @@ module Pod
@build_headers = Sandbox::HeadersStore.new(sandbox, 'Private')
@file_accessors = []
@resource_bundle_targets = []
@dependent_targets = []
end
# @return [Array<PodTarget>] a scoped copy for each target definition.
......@@ -65,6 +66,7 @@ module Pod
target.user_build_configurations = user_build_configurations
target.native_target = native_target
target.archs = archs
target.dependent_targets = dependent_targets.map(&:scoped)
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