When cloning a Bitbucket repository from Xcode (using current version 9.2) I get Authentication failed.
Solution is to insert Password into URL.
Steps:
- 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:
https://[email protected]/xxx/yourproject.git
Add password like this, colon and your password:
https://username:password@bitbucket.org/xxx/yourproject.git - Click Clone button and it should work