lib/cocoapods/installer/target_installer.rb
def create_xcconfig_file
        path = library.xcconfig_path
        UI.message "- Generating xcconfig file at #{UI.path(path)}" do
          gen = Generator::XCConfig.new(sandbox, spec_consumers, library.relative_pods_root)
          gen.set_arc_compatibility_flag = target_definition.podfile.set_arc_compatibility_flag?
          gen.save_as(path)
          library.xcconfig = gen.xcconfig
          xcconfig_file_ref = add_file_to_support_group(path)

          target.build_configurations.each do |c|
            c.base_configuration_reference = xcconfig_file_ref
            Generator::XCConfig.pods_project_settings.each do |key, value|
              c.build_settings[key] = value
            end
          end
        end
      end
# Generates the contents of the xcconfig file and saves it to disk.
#
# @note   The `ALWAYS_SEARCH_USER_PATHS` flag is enabled to support
#         libraries like `EmbedReader`.
#
# @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 = library.xcconfig_path
        UI.message "- Generating xcconfig file at #{UI.path(path)}" do
          gen = Generator::XCConfig.new(sandbox, spec_consumers, library.relative_pods_root)
          gen.set_arc_compatibility_flag = target_definition.podfile.set_arc_compatibility_flag?
          gen.save_as(path)
          library.xcconfig = gen.xcconfig
          xcconfig_file_ref = add_file_to_support_group(path)
          target.build_configurations.each do |c|
            c.base_configuration_reference = xcconfig_file_ref
            Generator::XCConfig.pods_project_settings.each do |key, value|
              c.build_settings[key] = value
            end
          end
        end
      end
def create_xcconfig_file path = library . xcconfig_path UI . message "- Generating xcconfig file at #{UI.path(path)}" do gen = Generator :: XCConfig . new ( sandbox , spec_consumers , library . relative_pods_root ) gen . set_arc_compatibility_flag = target_definition . podfile . set_arc_compatibility_flag? gen . save_as ( path ) library . xcconfig = gen . xcconfig xcconfig_file_ref = add_file_to_support_group ( path ) target . build_configurations . each do | c | c . base_configuration_reference = xcconfig_file_ref Generator :: XCConfig . pods_project_settings . each do | key , value | c . build_settings [ key ] = value end end 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
note
The `ALWAYS_SEARCH_USER_PATHS` flag is enabled to support libraries like `EmbedReader`.
The ` ALWAYS_SEARCH_USER_PATHS ` flag is enabled to support libraries like ` EmbedReader ` .