swift-package-list icon indicating copy to clipboard operation
swift-package-list copied to clipboard

Option for getting dependencies of a specific target?

Open jverkoey opened this issue 1 year ago • 2 comments

I have multiple Xcode projects in a single workspace. Each project has one or more targets, and each target has a unique set of Swift package dependencies.

The docs for this tool indicate that it might only get you the dependencies for a project, swift-package-list <project-path>; is there a possibility of getting dependencies for a specific target as well?

Possibly related, I get the following error when trying to run the command:

> swift-package-list MyApp.xcodeproj
Error: The file “Package.resolved” couldn’t be opened because there is no such file.

Notably, I am using Xcode's UI to manage all of my Swift package dependencies.

jverkoey avatar Aug 12 '24 22:08 jverkoey