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
ebbd1306
Commit
ebbd1306
authored
Jan 22, 2015
by
Boris Bügling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Installer] Explicit naming for `app_extension`
parent
c45b1bef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
installer.rb
lib/cocoapods/installer.rb
+4
-4
No files found.
lib/cocoapods/installer.rb
View file @
ebbd1306
...
...
@@ -467,8 +467,8 @@ module Pod
def
set_target_dependencies
frameworks_group
=
pods_project
.
frameworks_group
aggregate_targets
.
each
do
|
aggregate_target
|
app_extension
=
aggregate_target
.
user_targets
.
map
(
&
:symbol_type
).
include?
(
:app_extension
)
configure_app_extension_api_only_for_target
(
aggregate_target
)
if
app_extension
is_
app_extension
=
aggregate_target
.
user_targets
.
map
(
&
:symbol_type
).
include?
(
:app_extension
)
configure_app_extension_api_only_for_target
(
aggregate_target
)
if
is_
app_extension
aggregate_target
.
pod_targets
.
each
do
|
pod_target
|
unless
pod_target
.
should_build?
...
...
@@ -480,7 +480,7 @@ module Pod
end
aggregate_target
.
native_target
.
add_dependency
(
pod_target
.
native_target
)
configure_app_extension_api_only_for_target
(
pod_target
)
if
app_extension
configure_app_extension_api_only_for_target
(
pod_target
)
if
is_
app_extension
pod_target
.
dependencies
.
each
do
|
dep
|
unless
dep
==
pod_target
.
pod_name
...
...
@@ -492,7 +492,7 @@ module Pod
next
unless
pod_dependency_target
.
should_build?
pod_target
.
native_target
.
add_dependency
(
pod_dependency_target
.
native_target
)
configure_app_extension_api_only_for_target
(
pod_dependency_target
)
if
app_extension
configure_app_extension_api_only_for_target
(
pod_dependency_target
)
if
is_
app_extension
if
pod_target
.
requires_frameworks?
product_ref
=
frameworks_group
.
files
.
find
{
|
f
|
f
.
path
==
pod_dependency_target
.
product_name
}
||
...
...
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