Class: Pod::AggregateTarget

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-spm/patch/aggregate_target.rb

Instance Method Summary collapse

Instance Method Details

#includes_dynamic_spm_dependencies?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/cocoapods-spm/patch/aggregate_target.rb', line 9

def includes_dynamic_spm_dependencies?
  podfile.spm_resolver.result.spm_products_for(self).any?(&:dynamic?)
end

#includes_frameworks?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/cocoapods-spm/patch/aggregate_target.rb', line 5

def includes_frameworks?
  origin_includes_frameworks? || includes_dynamic_spm_dependencies?
end

#origin_includes_frameworks?Object



3
# File 'lib/cocoapods-spm/patch/aggregate_target.rb', line 3

alias origin_includes_frameworks? includes_frameworks?