pod spec lint [NAME.podspec|DIRECTORY|http://PATH/NAME.podspec]

Validates a spec file

Arguments

NameDescription
NAME.podspec|DIRECTORY|http://PATH/NAME.podspec

Options

NameDescription
--quickLint skips checks that would require to download and build the spec
--allow-warningsLint validates even if warnings are present
--subspec <NAME>Lint validates only the given subspec
--no-subspecsLint skips validation of subspecs
--no-cleanLint leaves the build directory intact for inspection
--fail-fastLint stops on the first failing platform or subspec
--use-librariesLint uses static libraries to install the spec
--use-modular-headersLint uses modular headers during installation
--use-static-frameworksLint uses static frameworks during installation
--sources <source>The sources from which to pull dependent pods (defaults to https://cdn.cocoapods.org/). Multiple sources must be comma-delimited
--platforms <platform>Lint against specific platforms (defaults to all platforms supported by the podspec). Multiple platforms must be comma-delimited
--privateLint skips checks that apply only to public specs
--swift-version <VERSION>The `SWIFT_VERSION` that should be used to lint the spec. This takes precedence over the Swift versions specified by the spec or a `.swift-version` file
--skip-import-validationLint skips validating that the pod can be imported
--skip-testsLint skips building and running tests during validation
--test-specs <test-spec>List of test specs to run
--analyzeValidate with the Xcode Static Analysis tool
--configuration <CONFIGURATION>Build using the given configuration (defaults to Release)
--allow-rootAllows CocoaPods to run as root