lib/cocoapods/installer/target_installer/pod_target_installer.rb
# Creates a prefix header file which imports `UIKit` or `Cocoa` according
# to the platform of the target. This file also include any prefix header
# content reported by the specification of the pods.
#
# @return [void]
#
Creates a prefix header file which imports `UIKit` or `Cocoa` according
to the platform of the target. This file also include any prefix header
content reported by the specification of the pods.
Creates a prefix header file which imports ` UIKit ` or ` Cocoa ` according to the platform of the target . This file also include any prefix header content reported by the specification of the pods .
def create_prefix_header
        path = target.prefix_header_path
        generator = Generator::PrefixHeader.new(target.file_accessors, target.platform)
        generator.imports << target.target_environment_header_path.basename
        generator.save_as(path)
        add_file_to_support_group(path)
        native_target.build_configurations.each do |c|
          relative_path = path.relative_path_from(project.path.dirname)
          c.build_settings['GCC_PREFIX_HEADER'] = relative_path.to_s
        end
      end
def create_prefix_header path = target . prefix_header_path generator = Generator :: PrefixHeader . new ( target . file_accessors , target . platform ) generator . imports << target . target_environment_header_path . basename generator . save_as ( path ) add_file_to_support_group ( path ) native_target . build_configurations . each do | c | relative_path = path . relative_path_from ( project . path . dirname ) c . build_settings [ 'GCC_PREFIX_HEADER' ] = relative_path . to_s end end
Creates a prefix header file which imports `UIKit` or `Cocoa` according
to the platform of the target.
Creates a prefix header file which imports ` UIKit ` or ` Cocoa ` according to the platform of the target .
None
void