Commit 6fdd6bff authored by Fabio Pelosin's avatar Fabio Pelosin

[Resolver] Process target definitions in the specification order.

Related to #899
parent b7c1ed1e
...@@ -58,7 +58,7 @@ module Pod ...@@ -58,7 +58,7 @@ module Pod
@cached_specs = {} @cached_specs = {}
@specs_by_target = {} @specs_by_target = {}
target_definitions = podfile.target_definitions.values.sort_by{ |td| td.name.to_s } target_definitions = podfile.target_definition_list
target_definitions.each do |target| target_definitions.each do |target|
UI.section "Resolving dependencies for target `#{target.name}' (#{target.platform})" do UI.section "Resolving dependencies for target `#{target.name}' (#{target.platform})" do
@loaded_specs = [] @loaded_specs = []
......
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