I'd like to fix a small bug in SPM and would like to run it from source.
So I've opened the swift-package-manager package in Xcode and ran the
This throws an error in SwiftTool.swift, error: Could not find Package.swift in this directory or any of its parent directories.
I guess this is because I haven't passed a manifest file for the tool to build? If so, how can I actually pass something to it? I've tried to pass a path to a local directory that has a valid swift package but I got the same error.