lib/cocoapods/installer/file_references_installer.rb
# Adds the source files of the Pods to the Pods project.
#
# @note   The source files are grouped by Pod and in turn by subspec
#         (recursively).
#
# @note   Pods are generally added to the `Pods` group, however, if they
#         have a local source they are added to the
#         `Local Pods` group.
#
# @return [void]
#
Adds the source files of the Pods to the Pods project.
Adds the source files of the Pods to the Pods project .
def add_source_files_references
        UI.message "- Adding source files to Pods project" do
          file_accessors.each do |file_accessor|
            files = file_accessor.source_files
            spec_name = file_accessor.spec.name
            local = sandbox.local?(file_accessor.spec.root.name)
            parent_group = local ? pods_project.local_pods : pods_project.pods
            pods_project.add_file_references(files, spec_name, parent_group)
          end
        end
      end
def add_source_files_references UI . message "- Adding source files to Pods project" do file_accessors . each do | file_accessor | files = file_accessor . source_files spec_name = file_accessor . spec . name local = sandbox . local? ( file_accessor . spec . root . name ) parent_group = local ? pods_project . local_pods : pods_project . pods pods_project . add_file_references ( files , spec_name , parent_group ) end end end
Adds the source files of the Pods to the Pods project.
Adds the source files of the Pods to the Pods project .
None
void
note
The source files are grouped by Pod and in turn by subspec (recursively).
The source files are grouped by Pod and in turn by subspec ( recursively ) .
note
Pods are generally added to the `Pods` group, however, if they have a local source they are added to the `Local Pods` group.
Pods are generally added to the ` Pods ` group however if they have a local source they are added to the ` Local Pods ` group .