Method: XCCache::Installer#perform_install

Defined in:
lib/xccache/installer.rb

#perform_installObject



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/xccache/installer.rb', line 18

def perform_install
  verify_projects!
  recreate_config_dirs
  projects.each { |project| migrate_umbrella_to_proxy(project) }
  UI.message("Using cache dir: #{config.spm_cache_dir}")
  config.ensure_file!
  config.in_installation = true
  sync_lockfile
  proxy_pkg.prepare(@install_options)

  yield if block_given?

  gen_supporting_files
  projects.each do |project|
    add_xccache_refs_to_project(project)
    inject_xcconfig_to_project(project)
  end
  gen_cachemap_viz
end