Commit d0b50423 authored by Samuel Giddins's avatar Samuel Giddins

[PodTargetInstaller] Use the proper deployment target for the resource bundle targets

parent 06e2f565
......@@ -112,7 +112,7 @@ module Pod
file_references = paths.map { |sf| project.reference_for_path(sf) }
label = target.resources_bundle_target_label(bundle_name)
bundle_target = project.new_resources_bundle(label, file_accessor.spec_consumer.platform_name)
bundle_target.deployment_target = target.platform.deployment_target.to_s
bundle_target.deployment_target = deployment_target
bundle_target.product_reference.tap do |bundle_product|
bundle_file_name = "#{bundle_name}.bundle"
bundle_product.name = bundle_file_name
......
......@@ -149,7 +149,7 @@ module Pod
bundle_target.product_reference.name.should == 'banana_bundle.bundle'
bundle_target.product_reference.path.should == 'banana_bundle.bundle'
bundle_target.platform_name.should == :ios
bundle_target.deployment_target.should == '6.0'
bundle_target.deployment_target.should == '4.3'
end
it 'adds the build configurations to the resources bundle targets' do
......
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