lib/cocoapods/installer/target_installer/pod_target_installer.rb
# Generates the contents of the xcconfig file and saves it to disk.
#
# @return [void]
#
Generates the contents of the xcconfig file and saves it to disk.
Generates the contents of the xcconfig file and saves it to disk .
def create_xcconfig_file
        path = target.xcconfig_path
        public_gen = Generator::XCConfig::PublicPodXCConfig.new(target)
        public_gen.save_as(path)
        add_file_to_support_group(path)
        path = target.xcconfig_private_path
        private_gen = Generator::XCConfig::PrivatePodXCConfig.new(target, public_gen.xcconfig)
        private_gen.save_as(path)
        xcconfig_file_ref = add_file_to_support_group(path)
        native_target.build_configurations.each do |c|
          c.base_configuration_reference = xcconfig_file_ref
        end
      end
def create_xcconfig_file path = target . xcconfig_path public_gen = Generator :: XCConfig :: PublicPodXCConfig . new ( target ) public_gen . save_as ( path ) add_file_to_support_group ( path ) path = target . xcconfig_private_path private_gen = Generator :: XCConfig :: PrivatePodXCConfig . new ( target , public_gen . xcconfig ) private_gen . save_as ( path ) xcconfig_file_ref = add_file_to_support_group ( path ) native_target . build_configurations . each do | c | c . base_configuration_reference = xcconfig_file_ref end end
Generates the contents of the xcconfig file and saves it to disk.
Generates the contents of the xcconfig file and saves it to disk .
None
void