50
51
52
53
54
55
56
57
58
59
60
61
62
|
# File 'lib/cocoapods/installer/post_install_hooks_context.rb', line 50
def self.generate(sandbox, aggregate_targets)
umbrella_targets_descriptions = aggregate_targets.map do |umbrella|
user_project = umbrella.user_project
user_targets = umbrella.user_targets
specs = umbrella.specs
platform_name = umbrella.platform.name
platform_deployment_target = umbrella.platform.deployment_target.to_s
cocoapods_target_label = umbrella.label
UmbrellaTargetDescription.new(user_project, user_targets, specs, platform_name, platform_deployment_target, cocoapods_target_label)
end
new(sandbox, sandbox.root.to_s, sandbox.project, umbrella_targets_descriptions)
end
|