Method: Pod::Podfile::DSL#use_modular_headers!
- Defined in:
- lib/cocoapods-core/podfile/dsl.rb
permalink #use_modular_headers! ⇒ Object
Use modular headers for all CocoaPods static libraries.
This attribute is inherited by child target definitions.
If you would like to use modular headers per Pod you can use the following syntax:
pod 'SSZipArchive', :modular_headers => true
Additionally, when you use the ‘use_modular_headers!` attribute, you can exclude a particular Pod from modular headers using the following:
pod 'SSZipArchive', :modular_headers => false
713 714 715 |
# File 'lib/cocoapods-core/podfile/dsl.rb', line 713 def use_modular_headers! current_target_definition.use_modular_headers_for_all_pods = true end |