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
3c9eee0c
Commit
3c9eee0c
authored
Jun 12, 2017
by
Paul Beusterien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few typos
parent
1cf1745f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
target_validator.rb
lib/cocoapods/installer/xcode/target_validator.rb
+2
-2
target.rb
lib/cocoapods/target.rb
+1
-1
No files found.
lib/cocoapods/installer/xcode/target_validator.rb
View file @
3c9eee0c
...
@@ -74,9 +74,9 @@ module Pod
...
@@ -74,9 +74,9 @@ module Pod
pod_targets
=
aggregate_target
.
pod_targets_for_build_configuration
(
config
)
pod_targets
=
aggregate_target
.
pod_targets_for_build_configuration
(
config
)
dependencies
=
pod_targets
.
select
(
&
:should_build?
).
flat_map
(
&
:dependencies
)
dependencies
=
pod_targets
.
select
(
&
:should_build?
).
flat_map
(
&
:dependencies
)
depende
nde
d_upon_targets
=
pod_targets
.
select
{
|
t
|
dependencies
.
include?
(
t
.
pod_name
)
&&
!
t
.
should_build?
}
depended_upon_targets
=
pod_targets
.
select
{
|
t
|
dependencies
.
include?
(
t
.
pod_name
)
&&
!
t
.
should_build?
}
static_libs
=
depende
nde
d_upon_targets
.
flat_map
(
&
:file_accessors
).
flat_map
(
&
:vendored_static_artifacts
)
static_libs
=
depended_upon_targets
.
flat_map
(
&
:file_accessors
).
flat_map
(
&
:vendored_static_artifacts
)
unless
static_libs
.
empty?
unless
static_libs
.
empty?
raise
Informative
,
"The '
#{
aggregate_target
.
label
}
' target has "
\
raise
Informative
,
"The '
#{
aggregate_target
.
label
}
' target has "
\
"transitive dependencies that include static binaries: (
#{
static_libs
.
to_sentence
}
)"
"transitive dependencies that include static binaries: (
#{
static_libs
.
to_sentence
}
)"
...
...
lib/cocoapods/target.rb
View file @
3c9eee0c
...
@@ -2,7 +2,7 @@ module Pod
...
@@ -2,7 +2,7 @@ module Pod
# Model class which describes a Pods target.
# Model class which describes a Pods target.
#
#
# The Target class stores and provides the information necessary for
# The Target class stores and provides the information necessary for
# working with a target in the Podfile and it
'
s dependent libraries.
# working with a target in the Podfile and its dependent libraries.
# This class is used to represent both the targets and their libraries.
# This class is used to represent both the targets and their libraries.
#
#
class
Target
class
Target
...
...
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