Class: Pod::Installer::UserProjectIntegrator::TargetIntegrator::XCConfigIntegrator
- Inherits:
-
Object
- Object
- Pod::Installer::UserProjectIntegrator::TargetIntegrator::XCConfigIntegrator
- 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
-
.integrate(pod_bundle, targets) ⇒ Bool
Integrates the user target.
Class Method Details
.integrate(pod_bundle, targets) ⇒ Bool
Integrates the user target.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb', line 20 def self.integrate(pod_bundle, targets) changes = false targets.each do |target| target.build_configurations.each do |config| changes = true if update_to_cocoapods_0_34(pod_bundle, targets) changes = true if set_target_xcconfig(pod_bundle, target, config) end end changes end |