Permalink
Browse files

[LocalPod] Fix #all_specs_public_header_files.

  • Loading branch information...
fabiopelosin committed Jun 20, 2012
1 parent 663d871 commit 1f5c7f4a9032d18195abb7ad325f43da51dc5458
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/cocoapods/local_pod.rb
@@ -304,11 +304,7 @@ def all_specs_public_header_files
raise Informative, "The pod is cleaned and cannot compute the all the "\
"header files as they might be deleted."
end
- all_specs = top_specification.recursive_subspecs << top_specification
- files = all_specs.map { |s| expanded_paths(s.source_files, :glob => '*.{h}') }
- files.flatten!
- files.select { |f| f && f.extname == '.h' }.uniq!
- files
+ header_files
end
# @!group Target integration

0 comments on commit 1f5c7f4

Please sign in to comment.