lib/cocoapods/installer/target_installer.rb
def create_dummy_source
        path = library.dummy_source_path
        UI.message "- Generating dummy source file at #{UI.path(path)}" do
          generator = Generator::DummySource.new(library.label)
          generator.save_as(path)
          file_reference = add_file_to_support_group(path)
          target.source_build_phase.add_file_reference(file_reference)
        end
      end
# Generates a dummy source file for each target so libraries that contain
# only categories build.
#
# @return [void]
#
Generates a dummy source file for each target so libraries that contain
only categories build.
Generates a dummy source file for each target so libraries that contain only categories build .
def create_dummy_source
        path = library.dummy_source_path
        UI.message "- Generating dummy source file at #{UI.path(path)}" do
          generator = Generator::DummySource.new(library.label)
          generator.save_as(path)
          file_reference = add_file_to_support_group(path)
          target.source_build_phase.add_file_reference(file_reference)
        end
      end
def create_dummy_source path = library . dummy_source_path UI . message "- Generating dummy source file at #{UI.path(path)}" do generator = Generator :: DummySource . new ( library . label ) generator . save_as ( path ) file_reference = add_file_to_support_group ( path ) target . source_build_phase . add_file_reference ( file_reference ) end end
Generates a dummy source file for each target so libraries that contain
only categories build.
Generates a dummy source file for each target so libraries that contain only categories build .
None
void