Class: Pod::PodTarget
- Inherits:
-
Object
- Object
- Pod::PodTarget
- Defined in:
- lib/cocoapods-fix-module/patch1.5.rb,
lib/cocoapods-fix-module/patch_common.rb
Instance Method Summary collapse
- #contain_vendored_libraries_and_no_vendored_frameworks? ⇒ Boolean
- #should_generate_module_map_for_a_pod_should_not_build? ⇒ Boolean
Instance Method Details
#contain_vendored_libraries_and_no_vendored_frameworks? ⇒ Boolean
20 21 22 23 24 25 26 |
# File 'lib/cocoapods-fix-module/patch1.5.rb', line 20 def contain_vendored_libraries_and_no_vendored_frameworks? return @uses_libraries_no_frameworks if defined? @uses_libraries_no_frameworks @uses_libraries_no_frameworks = begin accessors = file_accessors.reject { |a| a.spec.test_specification? } !accessors.empty? && accessors.all?{ |a| a.vendored_frameworks.blank? } && accessors.any?{ |a| not a.vendored_libraries.blank? } end end |
#should_generate_module_map_for_a_pod_should_not_build? ⇒ Boolean
28 29 30 31 32 |
# File 'lib/cocoapods-fix-module/patch1.5.rb', line 28 def should_generate_module_map_for_a_pod_should_not_build? @should_generate_module_map_for_a_pod_should_not_build ||= begin self.uses_modular_headers? && contain_vendored_libraries_and_no_vendored_frameworks? end end |