1 2# Overrides CocoaPods class as the AutolinkingManager is in fact part of 3# the target definitions and we need to refer to it at later steps. 4# See: https://github.com/CocoaPods/Core/blob/master/lib/cocoapods-core/podfile/target_definition.rb 5 6module Pod 7 class Podfile 8 class TargetDefinition 9 public 10 11 attr_writer :autolinking_manager 12 13 def autolinking_manager 14 if @autolinking_manager.present? || root? 15 @autolinking_manager 16 else 17 parent.autolinking_manager 18 end 19 end 20 end 21 end 22end 23