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
1e3e9ae1
Commit
1e3e9ae1
authored
Oct 14, 2016
by
Danielle Tomlinson
Committed by
GitHub
Oct 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6029 from IngmarStein/master
Use host target for frameworks of XPC services
parents
16b0ceca
a0e84a08
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
CHANGELOG.md
CHANGELOG.md
+3
-1
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.
CHANGELOG.md
View file @
1e3e9ae1
...
@@ -8,7 +8,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -8,7 +8,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Enhancements
##### 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
##### Bug Fixes
...
...
Gemfile.lock
View file @
1e3e9ae1
...
@@ -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:
a517d2371f5156e6b4db0948418189a7066d8607
revision:
8d21748dd4f47e9272501d938398e9d50c49fefe
branch: master
branch: master
specs:
specs:
xcodeproj (1.3.2)
xcodeproj (1.3.2)
...
...
lib/cocoapods/target/aggregate_target.rb
View file @
1e3e9ae1
...
@@ -9,7 +9,7 @@ module Pod
...
@@ -9,7 +9,7 @@ module Pod
# 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
,
:framework
,
:messages_extension
,
:watch_extension
].
freeze
EMBED_FRAMEWORKS_IN_HOST_TARGET_TYPES
=
[
:app_extension
,
:framework
,
:messages_extension
,
:watch_extension
,
:xpc_service
].
freeze
# Initialize a new instance
# Initialize a new instance
#
#
...
...
spec/unit/target/aggregate_target_spec.rb
View file @
1e3e9ae1
...
@@ -224,6 +224,11 @@ module Pod
...
@@ -224,6 +224,11 @@ module Pod
@target
.
requires_host_target?
.
should
==
true
@target
.
requires_host_target?
.
should
==
true
end
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
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