Commit 04f36ac5 authored by IngmarStein's avatar IngmarStein

Add a unit spec and changelog entry

parent 16fae73e
......@@ -8,7 +8,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Enhancements
* None.
* Use host target for frameworks of XPC services.
[Ingmar Stein](https://github.com/IngmarStein)
[#6029](https://github.com/CocoaPods/CocoaPods/pull/6029)
##### Bug Fixes
......
......@@ -224,6 +224,11 @@ module Pod
@target.requires_host_target?.should == true
end
it 'requires a host target for XPC service targets' do
@target.user_targets.first.stubs(:symbol_type).returns(:xpc_service)
@target.requires_host_target?.should == true
end
it 'does not require a host target for watch 2 extension targets' do
@target.user_targets.first.stubs(:symbol_type).returns(:watch2_extension)
@target.requires_host_target?.should == false
......
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