-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible error in the Podspec Syntax Reference #140
Comments
It is a valid source in the sense that it works, but you are correct that it is not intended to lint. If I recall, it's documented for people who specify external sources directly in their Podfiles |
It could maybe have an extra note for those that need to load a pod from a local path that links to https://guides.cocoapods.org/syntax/podfile.html#pod, but as it stands that key being in the list of supported keys is indeed confusing. |
Ideally, I'd like to see linting actually work with a |
@DaveWoodCom that's exactly what |
Hmm, that's very interesting. I'd missed that completely. Not sure the docs are as clear as they could be in that case then. Will definitely same me some time now though. :) Thanks! |
I need a solution for that; im following that tutorial please! |
On this page: https://guides.cocoapods.org/syntax/podspec.html#source, the documentation suggests
:path
is a supportedsource
, however this doesn't appear to be true.When specifying a
spec.source = { :path => "/some/local/path" }
in a Podspec, an error is given when trying tolint
the file:Encountered an unknown error (Unsupported download strategy
{:path=>"/some/local/path"}.) during validation.
The
Guidelines for Contributing
indicate the issue is actually in the comments of this file:https://github.com/CocoaPods/Core/blob/master/lib/cocoapods-core/specification/dsl.rb
The text was updated successfully, but these errors were encountered: