lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb
def add_file_accessors_paths_to_pods_group(file_accessor_key, group_key = nil, reflect_file_system_structure_for_development = false)
            file_accessors.each do |file_accessor|
              pod_name = file_accessor.spec.name
              local = sandbox.local?(pod_name)
              paths = file_accessor.send(file_accessor_key)
              paths = allowable_project_paths(paths)
              base_path = local ? common_path(paths) : nil
              paths.each do |path|
                group = pods_project.group_for_spec(file_accessor.spec.name, group_key)
                pods_project.add_file_reference(path, group, local && reflect_file_system_structure_for_development, base_path)
              end
            end
          end
# Adds file references to the list of the paths returned by the file
# accessor with the given key to the given group of the Pods project.
#
# @param  [Symbol] file_accessor_key
#         The method of the file accessor which would return the list of
#         the paths.
#
# @param  [Symbol] group_key
#         The key of the group of the Pods project.
#
# @param  [Bool] reflect_file_system_structure_for_development
#         Whether organizing a local pod's files in subgroups inside
#         the pod's group is allowed.
#
# @return [void]
#
Adds file references to the list of the paths returned by the file
accessor with the given key to the given group of the Pods project.
Adds file references to the list of the paths returned by the file accessor with the given key to the given group of the Pods project .
def add_file_accessors_paths_to_pods_group(file_accessor_key, group_key = nil, reflect_file_system_structure_for_development = false)
            file_accessors.each do |file_accessor|
              pod_name = file_accessor.spec.name
              local = sandbox.local?(pod_name)
              paths = file_accessor.send(file_accessor_key)
              paths = allowable_project_paths(paths)
              base_path = local ? common_path(paths) : nil
              paths.each do |path|
                group = pods_project.group_for_spec(file_accessor.spec.name, group_key)
                pods_project.add_file_reference(path, group, local && reflect_file_system_structure_for_development, base_path)
              end
            end
          end
def add_file_accessors_paths_to_pods_group ( file_accessor_key , group_key = nil , reflect_file_system_structure_for_development = false ) file_accessors . each do | file_accessor | pod_name = file_accessor . spec . name local = sandbox . local? ( pod_name ) paths = file_accessor . send ( file_accessor_key ) paths = allowable_project_paths ( paths ) base_path = local ? common_path ( paths ) : nil paths . each do | path | group = pods_project . group_for_spec ( file_accessor . spec . name , group_key ) pods_project . add_file_reference ( path , group , local && reflect_file_system_structure_for_development , base_path ) end end end
Adds file references to the list of the paths returned by the file
accessor with the given key to the given group of the Pods project.
Adds file references to the list of the paths returned by the file accessor with the given key to the given group of the Pods project .
None
void
file_accessor_key
group_key
reflect_file_system_structure_for_development
reflect_file_system_structure_for_development Whether organizing a local pod's files in subgroups inside the pod's group is allowed.
reflect_file_system_structure_for_development Whether organizing a local pod ' s files in subgroups inside the pod ' s group is allowed .