Skip to content

Possible error in the Podspec Syntax Reference #140

@DaveWoodCom

Description

@DaveWoodCom

On this page: https://guides.cocoapods.org/syntax/podspec.html#source, the documentation suggests :path is a supported source, 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 to lint 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions