Swift Package Manager can reference a dependency by both version/tag and branch/SHA. Typically using versions are preferred. This is because if a package declares a dependency in the Package.swift file using branch/SHA, that package itself can also only be referenced by branch/SHA.
Can you mark the current repository HEAD with a tag or make a release so this can be referenced by version/tag?