Commit 53f5c31b authored by Heiko Behrens's avatar Heiko Behrens

[Validator] do not assume specific of targets when building file_accessors to test against

parent 2fa29fb1
......@@ -208,7 +208,7 @@ module Pod
installer = Installer.new(sandbox, podfile)
installer.install!
file_accessors = installer.aggregate_targets.first.pod_targets.first.file_accessors
file_accessors = installer.aggregate_targets.first.pod_targets.map{ |target| target.file_accessors }.flatten
@file_accessor = file_accessors.find { |accessor| accessor.spec == spec }
config.silent
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