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
2f82437a
Commit
2f82437a
authored
Apr 08, 2016
by
Orta Therox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve 1.0 error messages around not-found dependencies - fixes #5135
parent
7b845e7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
resolver.rb
lib/cocoapods/resolver.rb
+8
-5
No files found.
lib/cocoapods/resolver.rb
View file @
2f82437a
...
@@ -420,11 +420,14 @@ module Pod
...
@@ -420,11 +420,14 @@ module Pod
elsif
!
conflict
.
existing
elsif
!
conflict
.
existing
conflict
.
requirements
.
values
.
flatten
.
each
do
|
r
|
conflict
.
requirements
.
values
.
flatten
.
each
do
|
r
|
if
search_for
(
r
).
empty?
if
search_for
(
r
).
empty?
# There is no existing specification inside any of the spec repos with given requirements.
# There are no existing specification inside any of the spec repos with given requirements.
message
<<
"
\n\n
None of the spec sources contain a spec satisfying the `
#{
r
}
` dependency."
\
message
<<
"
\n\n
None of your spec sources contain a spec satisfying the dependency: `
#{
r
}
`."
\
"
\n
You have either; mistyped the name or version,"
\
"
\n\n
You have either:"
\
' not added the source repo that hosts the Podspec to your Podfile,'
\
"
\n
* out-of-date source repos which you can update with `pod repo update`."
' or not got the latest versions of your source repos.'
"
\n
* mistyped the name or version."
\
"
\n
* not added the source repo that hosts the Podspec to your Podfile."
\
"
\n\n
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default."
else
else
message
<<
"
\n\n
Specs satisfying the `
#{
r
}
` dependency were found, "
\
message
<<
"
\n\n
Specs satisfying the `
#{
r
}
` dependency were found, "
\
'but they required a higher minimum deployment target.'
'but they required a higher minimum deployment 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