CocoaPods/cocoadocs.org — pull request #60 by kylef (2013-10-03 17:11:14+00:00)
Title: Fix an issue where headers were not being included if they were for a platform

This is when the headers are set for just a platform, they were being excluded
because the if statement to include all public headers was actually checking
something else (source_files).

This would also produce another bug if there was only private headers in a spec
or if there was only implementation files.