Class: Pod::SPM::Resolver::TargetDependencyResolver

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-spm/resolver/target_dep_resolver.rb

Instance Method Summary collapse

Constructor Details

#initialize(podfile, aggregate_targets, result) ⇒ TargetDependencyResolver

Returns a new instance of TargetDependencyResolver.



5
6
7
8
9
# File 'lib/cocoapods-spm/resolver/target_dep_resolver.rb', line 5

def initialize(podfile, aggregate_targets, result)
  @podfile = podfile
  @aggregate_targets = aggregate_targets
  @result = result
end

Instance Method Details

#resolveObject



11
12
13
14
# File 'lib/cocoapods-spm/resolver/target_dep_resolver.rb', line 11

def resolve
  resolve_spm_pkgs
  resolve_spm_dependencies_by_target
end