class Pod::Target::BuildSettings::AggregateTargetSettings
A subclass that generates build settings for a `PodTarget`
Constants
- EMBED_STANDARD_LIBRARIES_MINIMUM_VERSION
Attributes
configuration_name[R]
@return [String]
The build configuration these settings will be used for
Public Class Methods
build_settings_names()
click to toggle source
@see BuildSettings.build_settings_names
# File lib/cocoapods/target/build_settings.rb, line 824 def self.build_settings_names @build_settings_names | BuildSettings.build_settings_names end
new(target, configuration_name)
click to toggle source
Intializes a new instance
@param [AggregateTarget] target
see {#target}
@param [String] configuration_name
see {#configuration_name}
Calls superclass method
Pod::Target::BuildSettings::new
# File lib/cocoapods/target/build_settings.rb, line 840 def initialize(target, configuration_name) super(target) @configuration_name = configuration_name end
Public Instance Methods
other_swift_flags_without_swift?()
click to toggle source
@see BuildSettings#other_swift_flags_without_swift?
# File lib/cocoapods/target/build_settings.rb, line 942 def other_swift_flags_without_swift? module_map_files.any? end
user_target_xcconfig_values_by_consumer_by_key()
click to toggle source
Returns the user_target_xcconfig
for all pod targets and their spec consumers grouped by keys
@return [Hash{String,Hash{Target,String}]
# File lib/cocoapods/target/build_settings.rb, line 1047 def user_target_xcconfig_values_by_consumer_by_key pod_targets.each_with_object({}) do |target, hash| target.spec_consumers.each do |spec_consumer| spec_consumer.user_target_xcconfig.each do |k, v| # TODO: Need to decide how we are going to ensure settings like these # are always excluded from the user's project. # # See https://github.com/CocoaPods/CocoaPods/issues/1216 next if k == 'USE_HEADERMAP' (hash[k] ||= {})[spec_consumer] = v end end end end