lib/cocoapods/installer/file_references_installer.rb
# Adds the resources of the Pods to the Pods project.
#
# @note   The source files are grouped by Pod and in turn by subspec
#         (recursively) in the resources group.
#
# @return [void]
#
Adds the resources of the Pods to the Pods project.
Adds the resources of the Pods to the Pods project .
def add_resources_references
        UI.message "- Adding resources to Pods project" do
          file_accessors.each do |file_accessor|
            file_accessor.resources.each do |resources|
              files = file_accessor.resources
              spec_name = file_accessor.spec.name
              parent_group = pods_project.resources
              pods_project.add_file_references(files, spec_name, parent_group)
            end
          end
        end
      end
def add_resources_references UI . message "- Adding resources to Pods project" do file_accessors . each do | file_accessor | file_accessor . resources . each do | resources | files = file_accessor . resources spec_name = file_accessor . spec . name parent_group = pods_project . resources pods_project . add_file_references ( files , spec_name , parent_group ) end end end end
Adds the resources of the Pods to the Pods project.
Adds the resources of the Pods to the Pods project .
None
void
note
The source files are grouped by Pod and in turn by subspec (recursively) in the resources group.
The source files are grouped by Pod and in turn by subspec ( recursively ) in the resources group .