Class: Pod::Installer::Xcode::PodsProjectGenerator
- Inherits:
-
Object
- Object
- Pod::Installer::Xcode::PodsProjectGenerator
- Defined in:
- lib/cocoapods-fix-module/patch1.5.rb,
lib/cocoapods-fix-module/patch1.5.rb,
lib/cocoapods-fix-module/patch1.6.rb,
lib/cocoapods-fix-module/patch1.7.rb,
lib/cocoapods-fix-module/patch1.8.rb
Defined Under Namespace
Classes: PodTargetInstaller
Instance Method Summary collapse
-
#install_libraries ⇒ Object
override.
Instance Method Details
#install_libraries ⇒ Object
override
Manually checked the 1.5.3/ 1.5.2/ 1.5.1/ 1.5.0, they are all the same. So it’s safe.
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
# File 'lib/cocoapods-fix-module/patch1.5.rb', line 116 def install_libraries UI. '- Installing targets' do umbrella_headers_by_dir = pod_targets.map do |pod_target| ## ---- modified # next unless pod_target.should_build? && pod_target.defines_module? next unless pod_target.defines_module? next unless (pod_target.should_build? || pod_target.should_generate_module_map_for_a_pod_should_not_build? ) ## ---- modifed end # # contentx below is copied from original method pod_target.umbrella_header_path end.compact.group_by(&:dirname) pod_targets.sort_by(&:name).each do |pod_target| target_installer = PodTargetInstaller.new(sandbox, pod_target) target_installer.umbrella_headers_by_dir = umbrella_headers_by_dir target_installer.install! end aggregate_targets.sort_by(&:name).each do |target| target_installer = AggregateTargetInstaller.new(sandbox, target) target_installer.install! end add_system_framework_dependencies end end |