I've got a local Swift Package Manager package that uses a private Github repo as a dependency. When I open the local package with Xcode, it fails to “Resolve Packages” with this error:
Error while fetching remote repository: git@github.com:mayoff/Preamble.git
Server SSH Fingerprint Failed to Verify
However, if I use the command line swift program, it can clone the private repo. For example, I can run swift package show-dependencies in the local package's directory without complaint. I can also successfully clone the remote package repo with git clone. So it's not a problem with my .known_hosts file or my SSH key.
How do I fix Xcode's complaint?

