Skip to content

Commit

Permalink
[Resolver] Process target definitions in the specification order.
Browse files Browse the repository at this point in the history
Related to #899
  • Loading branch information
fabiopelosin committed Mar 26, 2013
1 parent b7c1ed1 commit 6fdd6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods/resolver.rb
Expand Up @@ -58,7 +58,7 @@ def resolve
@cached_specs = {}
@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|
UI.section "Resolving dependencies for target `#{target.name}' (#{target.platform})" do
@loaded_specs = []
Expand Down

0 comments on commit 6fdd6bf

Please sign in to comment.