When cloning a Bitbucket repository from Xcode (using current version 9.2) I get Authentication failed.
Solution is to insert Password into URL.
- Copy repository URL from Bitbucket – Overview, select HTTPS (not SSH)
- Paste it in to Xcode Clone window for Adding GitHub account (for example click “Clone an existing Project” from Xcode start screen)
- Before clicking the Clone button, edit the url to insert your Bitbucket password.
Url looks something like this:
Add password like this, colon and your password:
- Click Clone button and it should work