Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
fe6f6521
Commit
fe6f6521
authored
Jun 29, 2016
by
Ben Asher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support messages extension
parent
bbdffa5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
Gemfile.lock
Gemfile.lock
+1
-1
aggregate_target.rb
lib/cocoapods/target/aggregate_target.rb
+1
-1
aggregate_target_spec.rb
spec/unit/target/aggregate_target_spec.rb
+5
-0
No files found.
Gemfile.lock
View file @
fe6f6521
...
@@ -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)
...
...
lib/cocoapods/target/aggregate_target.rb
View file @
fe6f6521
...
@@ -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
#
#
...
...
spec/unit/target/aggregate_target_spec.rb
View file @
fe6f6521
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment