diff --git a/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb b/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb index b93ebc6..4147e93 100755 --- a/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb +++ b/cocoapods-imy-bin/lib/cocoapods-imy-bin/helpers/framework_builder.rb @@ -221,7 +221,7 @@ def copy_headers raise "copy_headers #{spec_header_dir} no exist " unless File.exist?(spec_header_dir) Dir.chdir(spec_header_dir) do - headers = Dir.glob('*.h') + headers = Dir.glob('**/*.h') headers.each do |h| public_headers << Pathname.new(File.join(Dir.pwd,h)) end