Class: Pod::Installer::UserProjectIntegrator::TargetIntegrator::XCConfigIntegrator

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb

Overview

Configures an user target to use the CocoaPods xcconfigs which allow lo link against the Pods.

Class Method Summary collapse

Class Method Details

.integrate(pod_bundle, targets) ⇒ Object

Integrates the user target.

Parameters:

  • pod_bundle (Target::AggregateTarget)

    The Pods bundle.

  • targets (Array<PBXNativeTarget>)

    The native targets associated which should be integrated with the Pod bundle.


18
19
20
21
22
23
24
# File 'lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb', line 18

def self.integrate(pod_bundle, targets)
  targets.each do |target|
    target.build_configurations.each do |config|
      set_target_xcconfig(pod_bundle, target, config)
    end
  end
end