Skip to main content
Commands for managing Swift Package Manager (SPM) dependencies in your Xcode project.

flowdeck project packages list

List packages (direct and transitive).

Options


flowdeck project packages add

Add a package dependency.

Options

Supported rule types: upToNextMajor, upToNextMinor, exact, branch, revision.

flowdeck project packages remove

Remove a package dependency by identity or URL. Removal also clears linked products, orphaned local-package objects, shared-scheme test references, and matching targets in shared test plans.

Options


flowdeck project packages resolve

Resolve package dependencies without updating to newer versions.

Options


flowdeck project packages update

Update packages (clears cache and re-resolves).

Options


flowdeck project packages clear

Clear the Swift package cache (SourcePackages).

Options


Link package products to a target.
The package may be identified by its remote URL or local path:

Options


Unlink package products from a target.
Local package products use the same path passed to packages add:

Options


flowdeck project packages targets

List project targets with their product types (application, framework, unit-test bundle, etc.). Use this to discover the valid --target values for link and unlink.

Options