lib/cocoapods/installer/target_installer/pod_target_installer.rb
# Adds the build files of the pods to the target and adds a reference to
# the frameworks of the Pods.
#
# @note   The Frameworks are used only for presentation purposes as the
#         xcconfig is the authoritative source about their information.
#
# @return [void]
#
Adds the build files of the pods to the target and adds a reference to
the frameworks of the Pods.
Adds the build files of the pods to the target and adds a reference to the frameworks of the Pods .
def add_files_to_build_phases
        UI.message "- Adding Build files" do
          library.file_accessors.each do |file_accessor|
            consumer = file_accessor.spec_consumer
            flags = compiler_flags_for_consumer(consumer)
            source_files = file_accessor.source_files
            file_refs = source_files.map { |sf| project.file_reference(sf) }
            target.add_file_references(file_refs, flags)
            file_accessor.spec_consumer.frameworks.each do |framework|
              project.add_system_framework(framework, target)
            end
          end
        end
      end
def add_files_to_build_phases UI . message "- Adding Build files" do library . file_accessors . each do | file_accessor | consumer = file_accessor . spec_consumer flags = compiler_flags_for_consumer ( consumer ) source_files = file_accessor . source_files file_refs = source_files . map { | sf | project . file_reference ( sf ) } target . add_file_references ( file_refs , flags ) file_accessor . spec_consumer . frameworks . each do | framework | project . add_system_framework ( framework , target ) end end end end
Adds the build files of the pods to the target and adds a reference to
the frameworks of the Pods.
Adds the build files of the pods to the target and adds a reference to the frameworks of the Pods .
None
void
note
The Frameworks are used only for presentation purposes as the xcconfig is the authoritative source about their information.
The Frameworks are used only for presentation purposes as the xcconfig is the authoritative source about their information .