Permalink
Browse files

Stash

  • Loading branch information...
1 parent b446d8c commit 59eec5a9afa322e942282bbdc2e09c3e1621a9e9 @alloy alloy committed Mar 26, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 lib/cocoapods/installer.rb
  2. +2 −1 lib/cocoapods/project/integrator.rb
@@ -88,7 +88,7 @@ def install!
puts "* Writing Xcode project file to `#{@sandbox.project_path}'" if config.verbose?
project.save_as(@sandbox.project_path)
- Project::Integrator.new(@user_project_path).integrate! if @user_project_path
+ Project::Integrator.new(@user_project_path, @podfile).integrate! if @user_project_path
end
def run_post_install_hooks
@@ -9,8 +9,9 @@ class Integrator
attr_reader :user_project_path, :user_project
- def initialize(user_project_path)
+ def initialize(user_project_path, podfile)
@user_project_path = user_project_path
+ @podfile = podfile
@user_project = Xcodeproj::Project.new(user_project_path)
end

0 comments on commit 59eec5a

Please sign in to comment.