Class: Pod::InstallerTal

Inherits:
Installer show all
Defined in:
lib/cocoapods-install_tal/src/installer_tal.rb

Instance Method Summary collapse

Constructor Details

#initialize(sandbox, podfile, lockfile = nil, auto_fix_conflict = true) ⇒ InstallerTal

Returns a new instance of InstallerTal.



3
4
5
6
7
8
9
10
11
# File 'lib/cocoapods-install_tal/src/installer_tal.rb', line 3

def initialize(sandbox, podfile, lockfile = nil, auto_fix_conflict = true)
  @sandbox  = sandbox
  @podfile  = podfile
  @lockfile = lockfile
  @auto_fix_conflict = auto_fix_conflict

  @use_default_plugins = true
  @has_dependencies = true
end

Instance Method Details

#install!Object



13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/cocoapods-install_tal/src/installer_tal.rb', line 13

def install!
    prepare
    resolve_dependencies
    download_dependencies
    validate_targets_remove_confilict
    generate_pods_project
    if installation_options.integrate_targets?
      integrate_user_project
    else
      UI.section 'Skipping User Project Integration'
    end
    perform_post_install_actions
end

#validate_targets_remove_confilictObject



27
28
29
30
# File 'lib/cocoapods-install_tal/src/installer_tal.rb', line 27

def validate_targets_remove_confilict
    validator = Xcode::TargetValidatorTal.new(aggregate_targets, pod_targets, @auto_fix_conflict)
    validator.validate!
end