Commit fe6f6521 authored by Ben Asher's avatar Ben Asher

Support messages extension

parent bbdffa5e
...@@ -24,7 +24,7 @@ GIT ...@@ -24,7 +24,7 @@ GIT
GIT GIT
remote: https://github.com/CocoaPods/Xcodeproj.git remote: https://github.com/CocoaPods/Xcodeproj.git
revision: fb31bbbd7a31e011df5fde90e5b27c85114e99bb revision: 796dec1d5abcdfc02ca1b5b8748d91c3f3e943b0
branch: master branch: master
specs: specs:
xcodeproj (1.1.0) xcodeproj (1.1.0)
......
...@@ -8,7 +8,7 @@ module Pod ...@@ -8,7 +8,7 @@ module Pod
attr_reader :target_definition attr_reader :target_definition
# Product types where the product's frameworks must be embedded in a host target # Product types where the product's frameworks must be embedded in a host target
EMBED_FRAMEWORKS_IN_HOST_TARGET_TYPES = [:app_extension, :watch_extension, :framework].freeze EMBED_FRAMEWORKS_IN_HOST_TARGET_TYPES = [:app_extension, :framework, :messages_extension, :watch_extension].freeze
# Initialize a new instance # Initialize a new instance
# #
......
...@@ -219,6 +219,11 @@ module Pod ...@@ -219,6 +219,11 @@ module Pod
@target.requires_host_target?.should == true @target.requires_host_target?.should == true
end end
it 'requires a host target for messages extension targets' do
@target.user_targets.first.stubs(:symbol_type).returns(:messages_extension)
@target.requires_host_target?.should == true
end
it 'does not require a host target for watch 2 extension targets' do it 'does not require a host target for watch 2 extension targets' do
@target.user_targets.first.stubs(:symbol_type).returns(:watch2_extension) @target.user_targets.first.stubs(:symbol_type).returns(:watch2_extension)
@target.requires_host_target?.should == false @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