Commit 021c1287 authored by Dimitris Koutsogiorgas's avatar Dimitris Koutsogiorgas Committed by GitHub

Merge pull request #7015 from justinseanmartin/jmartin/deduplicate-handle-subspec-resources

Ensure a unique ID is generated for each resource bundle
parents c0388072 6fb29d43
......@@ -30,6 +30,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
* Ensure a unique ID is generated for each resource bundle
[Justin Martin](https://github.com/justinseanmartin)
[#7015](https://github.com/CocoaPods/CocoaPods/pull/7015)
* Do not include settings from file accessors of test specs into aggregate xcconfigs
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#7019](https://github.com/CocoaPods/CocoaPods/pull/7019)
......
......@@ -226,7 +226,6 @@ module Pod
bundle_target.product_reference.tap do |bundle_product|
bundle_file_name = "#{bundle_name}.bundle"
bundle_product.name = bundle_file_name
bundle_product.path = bundle_file_name
end
filter_resource_file_references(paths) do |resource_phase_refs, compile_phase_refs|
......
......@@ -400,7 +400,7 @@ module Pod
it 'adds the resource bundle targets' do
@bundle_target.should.be.an.instance_of Xcodeproj::Project::Object::PBXNativeTarget
@bundle_target.product_reference.name.should == 'banana_bundle.bundle'
@bundle_target.product_reference.path.should == 'banana_bundle.bundle'
@bundle_target.product_reference.path.should == 'BananaLib-Pods-SampleProject-banana_bundle.bundle'
@bundle_target.platform_name.should == :ios
@bundle_target.deployment_target.should == '4.3'
end
......@@ -468,7 +468,7 @@ module Pod
it 'adds the resource bundle targets' do
@bundle_target.should.be.an.instance_of Xcodeproj::Project::Object::PBXNativeTarget
@bundle_target.product_reference.name.should == 'banana_bundle.bundle'
@bundle_target.product_reference.path.should == 'banana_bundle.bundle'
@bundle_target.product_reference.path.should == 'BananaLib-banana_bundle.bundle'
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