class Pod::InstallerTal

Public Class Methods

new(sandbox, podfile, lockfile = nil, auto_fix_conflict = true) click to toggle source
# 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

Public Instance Methods

install!() click to toggle source
# 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_confilict() click to toggle source
# 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