pod lib lint [PODSPEC_PATHS]

Validates a Pod

Arguments

NameDescription
PODSPEC_PATHS

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
--include-podspecs <podspec>Additional ancillary podspecs which are used for linting via :path
--external-podspecs <podspec>Additional ancillary podspecs which are used for linting via :podspec. If there are --include-podspecs, then these are removed from them
--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