Commit c44dd83e authored by Samuel Giddins's avatar Samuel Giddins

[PodTargetInstaller] Ensure resource bundle target deployment targets are set on all configs

parent 75b904ac
...@@ -144,7 +144,6 @@ module Pod ...@@ -144,7 +144,6 @@ module Pod
label = target.resources_bundle_target_label(bundle_name) label = target.resources_bundle_target_label(bundle_name)
bundle_target = project.new_resources_bundle(label, file_accessor.spec_consumer.platform_name) bundle_target = project.new_resources_bundle(label, file_accessor.spec_consumer.platform_name)
bundle_target.deployment_target = deployment_target
bundle_target.product_reference.tap do |bundle_product| bundle_target.product_reference.tap do |bundle_product|
bundle_file_name = "#{bundle_name}.bundle" bundle_file_name = "#{bundle_name}.bundle"
bundle_product.name = bundle_file_name bundle_product.name = bundle_file_name
...@@ -155,6 +154,7 @@ module Pod ...@@ -155,6 +154,7 @@ module Pod
target.user_build_configurations.each do |bc_name, type| target.user_build_configurations.each do |bc_name, type|
bundle_target.add_build_configuration(bc_name, type) bundle_target.add_build_configuration(bc_name, type)
end end
bundle_target.deployment_target = deployment_target
target.resource_bundle_targets << bundle_target target.resource_bundle_targets << bundle_target
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment