Method: Pod::Podfile::TargetDefinition#parse_modular_headers
- Defined in:
- lib/cocoapods-core/podfile/target_definition.rb
#parse_modular_headers(name, requirements) ⇒ void (private)
This method returns an undefined value.
Removes :modular_headers from the requirements list, and adds the pods name into internal hash for modular headers.
1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 1079 def parse_modular_headers(name, requirements) = requirements.last return requirements unless .is_a?(Hash) defines_module = .delete(:modular_headers) pod_name = Specification.root_name(name) set_use_modular_headers_for_pod(pod_name, defines_module) requirements.pop if .empty? end |