Permalink
Browse files

Fix bug that would only add files to the xcode project that are on di…

…sk, before downloading newer dependencies.
  • Loading branch information...
1 parent 60caa66 commit 8d362ece90b494552b79f7ba8f9910b00213451f @alloy alloy committed Sep 19, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/cocoapods/installer.rb
@@ -51,10 +51,12 @@ def generate_project
end
end
+ # TODO we need a spec that tests that all dependencies are first downloaded/installed
+ # before #generate_project is called!
def install!
puts "Installing dependencies of: #{@specification.defined_in_file}" unless config.silent?
- generate_project
build_specification_sets.each { |set| set.specification.install! }
+ generate_project
xcodeproj.create_in(config.project_pods_root)
xcconfig.create_in(config.project_pods_root)
end

0 comments on commit 8d362ec

Please sign in to comment.