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
9b785e21
Commit
9b785e21
authored
Aug 26, 2016
by
Ben Asher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only keep track of known hosts targets
parent
d01e3724
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
analyzer.rb
lib/cocoapods/installer/analyzer.rb
+1
-3
No files found.
lib/cocoapods/installer/analyzer.rb
View file @
9b785e21
...
...
@@ -269,7 +269,6 @@ module Pod
target_definitions_by_uuid
=
{}
aggregate_targets
.
each
do
|
target
|
target
.
user_targets
.
map
(
&
:uuid
).
each
do
|
uuid
|
raise
Informative
,
"Missing target definition for target:
#{
target
.
name
}
"
if
target
.
target_definition
.
nil?
target_definitions_by_uuid
[
uuid
]
=
target
.
target_definition
end
end
...
...
@@ -286,7 +285,7 @@ module Pod
host_uuids
+=
host_targets
.
map
(
&
:uuid
)
end
host_uuids
.
each
do
|
uuid
|
(
host_uuid_to_embedded_target_definitions
[
uuid
]
||=
[])
<<
target
.
target_definition
(
host_uuid_to_embedded_target_definitions
[
uuid
]
||=
[])
<<
target
.
target_definition
if
target_definitions_by_uuid
.
key?
uuid
end
embedded_targets_missing_hosts
<<
target
unless
host_uuids
.
any?
do
|
uuid
|
target_definitions_by_uuid
.
key?
uuid
...
...
@@ -326,7 +325,6 @@ module Pod
end
host_uuid_to_embedded_target_definitions
.
each
do
|
uuid
,
target_definitions
|
host_target_definition
=
target_definitions_by_uuid
[
uuid
]
raise
Informative
,
"Missing target definition for host uuid:
#{
uuid
}
"
if
host_target_definition
.
nil?
target_definitions
.
each
do
|
target_definition
|
check_prop
.
call
(
host_target_definition
,
target_definition
,
:platform
,
'do not use the same platform'
)
check_prop
.
call
(
host_target_definition
,
target_definition
,
:uses_frameworks?
,
'do not both set use_frameworks!'
)
...
...
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