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
bf4eded3
Commit
bf4eded3
authored
May 02, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#246 | Resolver] Validate plaforms against each target.
parent
03d27ea0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
resolver.rb
lib/cocoapods/resolver.rb
+1
-3
No files found.
lib/cocoapods/resolver.rb
View file @
bf4eded3
...
...
@@ -71,9 +71,6 @@ module Pod
if
dependency
.
subspec_dependency?
spec
=
spec
.
subspec_by_name
(
dependency
.
name
)
end
validate_platform!
(
spec
,
target_definition
)
@loaded_specs
<<
spec
.
name
@specs
[
spec
.
name
]
=
spec
...
...
@@ -81,6 +78,7 @@ module Pod
# TODO fix the need to return an empty arrayf if there are no deps for the given platform
find_dependency_sets
(
spec
,
(
spec
.
dependencies
[
target_definition
.
platform
.
to_sym
]
||
[]),
target_definition
)
end
validate_platform!
(
spec
||
@specs
[
dependency
.
name
],
target_definition
)
end
@log_indent
-=
1
end
...
...
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