Commit 26381697 authored by Jeremy Slater's avatar Jeremy Slater

Bug fixes and cleanup

parent 0551e51f
...@@ -187,10 +187,8 @@ module Pod ...@@ -187,10 +187,8 @@ module Pod
# #
def clean_sandbox def clean_sandbox
sandbox.public_headers.implode! sandbox.public_headers.implode!
targets.each do |target| libraries.each do |library|
target.libraries.each do |library| library.build_headers.implode!
library.build_headers.implode!
end
end end
unless sandbox_state.deleted.empty? unless sandbox_state.deleted.empty?
......
...@@ -79,7 +79,7 @@ module Pod ...@@ -79,7 +79,7 @@ module Pod
# @return [String] a string representation suitable for debugging. # @return [String] a string representation suitable for debugging.
# #
def inspect def inspect
"#<#{self.class} for target `#{target_definition.label}'>" "#<#{self.class} for target `#{target.label}'>"
end end
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
......
...@@ -209,7 +209,7 @@ module Pod ...@@ -209,7 +209,7 @@ module Pod
installer = Installer.new(sandbox, podfile) installer = Installer.new(sandbox, podfile)
installer.install! installer.install!
file_accessors = installer.libraries.first.file_accessors file_accessors = installer.targets.first.libraries.first.file_accessors
@file_accessor = file_accessors.find { |accessor| accessor.spec == spec } @file_accessor = file_accessors.find { |accessor| accessor.spec == spec }
config.silent config.silent
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