lib/cocoapods/installer/file_references_installer.rb
def link_headers
        UI.message "- Linking headers" do

          file_accessors.each do |file_accessor|
            headers_sandbox = Pathname.new(file_accessor.spec.root.name)
            sandbox.build_headers.add_search_path(headers_sandbox)
            sandbox.public_headers.add_search_path(headers_sandbox)

            header_mappings(headers_sandbox, file_accessor, file_accessor.headers).each do |namespaced_path, files|
              sandbox.build_headers.add_files(namespaced_path, files)
            end

            header_mappings(headers_sandbox, file_accessor, file_accessor.public_headers).each do |namespaced_path, files|
              sandbox.public_headers.add_files(namespaced_path, files)
            end
          end
        end
      end
# Creates the link to the headers of the Pod in the sandbox.
#
# @return [void]
#
Creates the link to the headers of the Pod in the sandbox.
Creates the link to the headers of the Pod in the sandbox .
def link_headers
        UI.message "- Linking headers" do
          file_accessors.each do |file_accessor|
            headers_sandbox = Pathname.new(file_accessor.spec.root.name)
            sandbox.build_headers.add_search_path(headers_sandbox)
            sandbox.public_headers.add_search_path(headers_sandbox)
            header_mappings(headers_sandbox, file_accessor, file_accessor.headers).each do |namespaced_path, files|
              sandbox.build_headers.add_files(namespaced_path, files)
            end
            header_mappings(headers_sandbox, file_accessor, file_accessor.public_headers).each do |namespaced_path, files|
              sandbox.public_headers.add_files(namespaced_path, files)
            end
          end
        end
      end
def link_headers UI . message "- Linking headers" do file_accessors . each do | file_accessor | headers_sandbox = Pathname . new ( file_accessor . spec . root . name ) sandbox . build_headers . add_search_path ( headers_sandbox ) sandbox . public_headers . add_search_path ( headers_sandbox ) header_mappings ( headers_sandbox , file_accessor , file_accessor . headers ) . each do | namespaced_path , files | sandbox . build_headers . add_files ( namespaced_path , files ) end header_mappings ( headers_sandbox , file_accessor , file_accessor . public_headers ) . each do | namespaced_path , files | sandbox . public_headers . add_files ( namespaced_path , files ) end end end end
Creates the link to the headers of the Pod in the sandbox.
Creates the link to the headers of the Pod in the sandbox .
None
void