Open Swift Packages
Use either route:- Press ⌘K, then choose Swift Packages (searching for “spm” also finds it).
- Open Project Settings from a session’s menu, then choose Swift Packages in the sidebar.
Read the package list
The left column lists your direct packages, sorted by name, with a Filter field above the list. Each row shows the package name, its address, and a status:
Packages that your direct packages depend on are listed under RESOLVED AUTOMATICALLY.
That group is collapsed until you open it. You cannot change the rule of these packages.
Select a package to see its details on the right. Until you select one, the pane says
Select a package to view details.
Add a remote package
- Choose the Add Package button in the window toolbar.
- Under NEW PACKAGE, type or paste the repository address. Use an HTTPS address or an
SSH address that starts with
git@. - Wait while FlowDeck fetches the package. It shows the name, description, and README when it has them. If there is no README, the pane says README not available.
- Under VERSION, choose a Dependency Rule and review the value. FlowDeck fills in the latest tag.
- Choose Add Package.
Dependency rules
When you add a package, the first two rules read Up to Next Major and Up to Next Minor.
Switching the rule fills the value with a sensible default: the latest tag for version
rules, and a branch name for Branch. Commit starts empty. Add Package stays disabled until the value
is filled in.
Add a local package
Drag a package folder from Finder onto the package list. The folder must contain aPackage.swift. FlowDeck adds it as a local package.
If you paste a file path into the address field, FlowDeck reminds you to drag the folder
onto the list instead.
A local package is edited in place, so it has no version rule and no target list in this
pane. Its detail pane offers Reveal in Finder and Remove.
Link a package to targets
Select a remote package and scroll to TARGETS. The list shows every target in the workspace with its type, such as Library or Executable.- Select a checkbox to link the package’s products to that target.
- Clear a checkbox to unlink them.
Change a dependency rule
Select a direct remote package. Under VERSION, change the Dependency Rule or its value. Two buttons appear:- Save Changes applies the new rule and resolves packages.
- Discard puts back the saved rule.
Remove a package
Select the package and choose Remove. FlowDeck removes the dependency from the project.View the repository
For a remote package, choose View on GitHub or click the address to open the repository in your browser.When something goes wrong
While FlowDeck adds, resolves, links, or removes a package, a progress sheet appears with a message such as Adding package…, Resolving package…, or Linking target…. Wait for it to finish before you make another change. While you type an address in NEW PACKAGE, FlowDeck can show:- Enter an HTTPS or SSH git URL. The address is not an HTTPS or
git@address. - To add a local package, drag its folder onto the list. You entered a file path.
- Could not reach followed by the address and Check the URL and your network. FlowDeck could not read the repository. Check the address, your network, and your access to the repository.

