Method: Pod::Podfile::TargetDefinition#whitelist_pod_for_configuration
- Defined in:
- lib/cocoapods-core/podfile/target_definition.rb
#whitelist_pod_for_configuration(pod_name, configuration_name) ⇒ void
Note:
Build configurations are stored as a String.
This method returns an undefined value.
Whitelists a pod for a specific configuration. If a pod is whitelisted for any configuration, it will only be linked with the target in the configuration(s) specified. If it is not whitelisted for any configuration, it is implicitly included in all configurations.
508 509 510 511 512 |
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 508 def whitelist_pod_for_configuration(pod_name, configuration_name) configuration_name = configuration_name.to_s list = raw_configuration_pod_whitelist[configuration_name] ||= [] list << pod_name end |