Class: Pod::Installer

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-kz/native/analyzer.rb,
lib/cocoapods-kz/native/installer.rb,
lib/cocoapods-kz/native/pod_target_installer.rb,
lib/cocoapods-kz/native/target_installer_helper.rb

Defined Under Namespace

Classes: Analyzer, Xcode

Instance Method Summary collapse

Instance Method Details

#integrateObject



14
15
16
17
18
19
20
# File 'lib/cocoapods-kz/native/installer.rb', line 14

def integrate
  if KZ::KZGlobalHelper.instance.kz_pod_enable
    # hmap的创建需要在download之后,integrate之前
    KZ::KZGlobalHelper.instance.kz_generator.create_hamp
  end
  original_integrate
end

#integrate_user_projectObject



6
7
8
9
10
11
# File 'lib/cocoapods-kz/native/installer.rb', line 6

def integrate_user_project
  original_integrate_user_project
  if KZ::KZGlobalHelper.instance.kz_pod_enable
    KZ::KZGlobalHelper.instance.write_lock_file
  end
end

#original_integrateObject



13
# File 'lib/cocoapods-kz/native/installer.rb', line 13

alias_method :original_integrate, :integrate

#original_integrate_user_projectObject



5
# File 'lib/cocoapods-kz/native/installer.rb', line 5

alias_method :original_integrate_user_project, :integrate_user_project