I've got this SwiftPM project. It has a dependency that I needed to edit, so I forked it on github and checked it out locally. Then I referenced the local repo in the Package.swift file with package(path:) instead of package(url:). This caused it to report
Package.swift: error: Missing package product 'WebAuthn' (in target 'App' from project 'server')
I had to commit my changes, and re-reference the repo, to get it to see my updates.
This problem has been around for some time, but seems to be related to how the path name differs from the built target name (it works fine in another project i have where the package directory and target have the same name).
I've submitted FB13677717 about it, but is there a workaround?