As of Xcode 15 beta 5: "Adding a dependency to a Swift package on the filesystem (instead of a remote URL) now participates in up-front package verification, such as checking transitive dependencies for conflicting version requirements."
Also the local packages should now show where the remote package dependencies are.
Is this something xcodegen currently supports or can support?