Commit 68c94e0d authored by Marius Rackwitz's avatar Marius Rackwitz

[Installer] Create FileAccessors only once per each PodTarget

By iterating over the uniq pod targets, instead of all pod targets per aggregate target, where now the same PodTarget can occur multiple times.
parent 903cbf80
......@@ -262,8 +262,7 @@ module Pod
# created by the Pod source installer as well.
#
def create_file_accessors
aggregate_targets.each do |target|
target.pod_targets.each do |pod_target|
pod_targets.each do |pod_target|
pod_root = sandbox.pod_dir(pod_target.root_spec.name)
path_list = Sandbox::PathList.new(pod_root)
file_accessors = pod_target.specs.map do |spec|
......@@ -273,7 +272,6 @@ module Pod
pod_target.file_accessors.concat(file_accessors)
end
end
end
# Downloads, installs the documentation and cleans the sources of the Pods
# which need to be installed.
......
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