Skip to content
Browse files

Fix regression that occurred when splitting off this gem.

  • Loading branch information...
1 parent af5d347 commit 65f27bdab6ebb1464f87fdba1228bfafe901b4f1 @alloy alloy committed Nov 12, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/xcodeproj/project.rb
  2. +1 −1 spec/project_spec.rb
View
2 lib/xcodeproj/project.rb
@@ -383,7 +383,7 @@ def self.new_static_library(project, productName)
buildPhase.files << framework.buildFiles.new
end
- target.buildPhases.add(PBXCopyFilesBuildPhase, 'dstPath' => '$(PUBLIC_HEADERS_FOLDER_PATH)')
+ target.buildPhases.add(PBXCopyFilesBuildPhase, 'dstPath' => '$(PRODUCT_NAME)')
target
end
View
2 spec/project_spec.rb
@@ -223,7 +223,7 @@ def find_object(conditions)
it "returns an empty 'copy headers' phase" do
phase = @target.buildPhases.select_by_class(Xcodeproj::Project::PBXCopyFilesBuildPhase).first
- phase.dstPath.should == "$(PUBLIC_HEADERS_FOLDER_PATH)"
+ phase.dstPath.should == "$(PRODUCT_NAME)"
phase.files.to_a.should == []
end
end

0 comments on commit 65f27bd

Please sign in to comment.
Something went wrong with that request. Please try again.