Class: Pod::Installer
- Inherits:
-
Object
show all
- Defined in:
- lib/cocoapods-kz/native/installer.rb,
lib/cocoapods-kz/native/target_integrator.rb,
lib/cocoapods-kz/native/pods_project_writer.rb,
lib/cocoapods-kz/native/pod_target_installer.rb,
lib/cocoapods-kz/native/pod_target_integrator.rb,
lib/cocoapods-kz/native/target_installer_helper.rb
Defined Under Namespace
Classes: UserProjectIntegrator, Xcode
Instance Method Summary
collapse
Instance Method Details
#download_dependencies ⇒ Object
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/cocoapods-kz/native/installer.rb', line 9
def download_dependencies
original_download_dependencies
if KZ::KZGlobalHelper.instance.generate_kz_pod_targets
main_project = aggregate_targets.first.user_project
main_project.targets.each do |main_target|
if main_target.display_name == KZ::KZGlobalHelper.instance.on_demand_resources_info.odr_target_name
bundle_id = main_target.build_configurations.first.kz_simple_attributes_buildSettings_hash["PRODUCT_BUNDLE_IDENTIFIER"]
KZ::KZGlobalHelper.instance.on_demand_resources_info.bundle_id = bundle_id unless bundle_id.nil?
end
end
kz_analyer = KZ::KZAnalyzer.new(pod_targets, self.sandbox.development_pods)
kz_analyer.analyer
KZ::KZGlobalHelper.instance.kz_analyzer = kz_analyer
KZ::KZGlobalHelper.instance.kz_generator = KZ::KZGenerator.new(main_project)
KZ::KZGlobalHelper.instance.handle_flexCompiler
end
end
|
#original_download_dependencies ⇒ Object
8
|
# File 'lib/cocoapods-kz/native/installer.rb', line 8
alias_method :original_download_dependencies, :download_dependencies
|
#original_install! ⇒ Object
44
|
# File 'lib/cocoapods-kz/native/installer.rb', line 44
alias_method :original_install!, :install!
|
#original_integrate ⇒ Object
30
|
# File 'lib/cocoapods-kz/native/installer.rb', line 30
alias_method :original_integrate, :integrate
|