lib/cocoapods/installer/target_installer/aggregate_target_installer.rb
# Generates the bridge support metadata if requested by the {Podfile}.
#
# @note   The bridge support metadata is added to the resources of the
#         target because it is needed for environments interpreted at
#         runtime.
#
# @return [void]
#
Generates the bridge support metadata if requested by the {Podfile}.
Generates the bridge support metadata if requested by the { Podfile } .
def create_bridge_support_file
        if target_definition.podfile.generate_bridge_support?
          path = target.bridge_support_path
          headers = native_target.headers_build_phase.files.map { |bf| sandbox.root + bf.file_ref.path }
          generator = Generator::BridgeSupport.new(headers)
          generator.save_as(path)
          add_file_to_support_group(path)
          @bridge_support_file = path.relative_path_from(sandbox.root)
        end
      end
def create_bridge_support_file if target_definition . podfile . generate_bridge_support? path = target . bridge_support_path headers = native_target . headers_build_phase . files . map { | bf | sandbox . root + bf . file_ref . path } generator = Generator :: BridgeSupport . new ( headers ) generator . save_as ( path ) add_file_to_support_group ( path ) @bridge_support_file = path . relative_path_from ( sandbox . root ) end end
Generates the bridge support metadata if requested by the {Podfile}.
Generates the bridge support metadata if requested by the { Podfile } .
None
void
note
The bridge support metadata is added to the resources of the target because it is needed for environments interpreted at runtime.
The bridge support metadata is added to the resources of the target because it is needed for environments interpreted at runtime .