getting this error when trying to add my own swift package from a BitBucket private repo:
Fetching user@bitbucket.org:abcdef/org.git
[16:51:03]: ▸ xcodebuild: error: Could not resolve package dependencies:
[16:51:03]: ▸ The server SSH fingerprint failed to verify.
All of my other Git commands are working correctly, how do I control the SSH key that Xcode uses to fetch dependencies? I saw the below workaround for GitHub, but the workaround doesn’t seem to work for me (of course replacing GitHub.com with bitbucket.org).
- run:
name: Override GitHub URL rewriting
command: |
git config --global --unset url.“ssh://git@github.com”.insteadOf &&
git config --global url.“ssh://git@github.com/my-org”.insteadOf “my-org · GitHub”