Commit 8d362ece authored by Eloy Duran's avatar Eloy Duran

Fix bug that would only add files to the xcode project that are on disk, before…

Fix bug that would only add files to the xcode project that are on disk, before downloading newer dependencies.
parent 60caa667
...@@ -51,10 +51,12 @@ module Pod ...@@ -51,10 +51,12 @@ module Pod
end end
end end
# TODO we need a spec that tests that all dependencies are first downloaded/installed
# before #generate_project is called!
def install! def install!
puts "Installing dependencies of: #{@specification.defined_in_file}" unless config.silent? puts "Installing dependencies of: #{@specification.defined_in_file}" unless config.silent?
generate_project
build_specification_sets.each { |set| set.specification.install! } build_specification_sets.each { |set| set.specification.install! }
generate_project
xcodeproj.create_in(config.project_pods_root) xcodeproj.create_in(config.project_pods_root)
xcconfig.create_in(config.project_pods_root) xcconfig.create_in(config.project_pods_root)
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