Note that there are some explanatory texts on larger screens.

plurals
  1. POBitbucket + XCode 4.2 + Git
    primarykey
    data
    text
    <p>I've been looking for a solution with Bitbucket and XCode.</p> <p>As everybody knows, XCode 4.2 comes with git support. I've created a bitbucket account and I wanted to push my changes to my repository, </p> <p>I've followed this tutorial <a href="https://confluence.atlassian.com/display/BITBUCKET/Use+the+SSH+protocol+with+Bitbucket" rel="noreferrer">https://confluence.atlassian.com/display/BITBUCKET/Use+the+SSH+protocol+with+Bitbucket</a></p> <p>However this is the problem I'm facing. When I'm in the Organizer - Repositories Section at XCode, I go to my remotes folder and create a repository.</p> <p>ssh://git@bitbucket.org/username/myrepo.git</p> <p>However when I'm asked for Name and password, the ones I provide as username and password fails. I've also tried with git as a user but no luck.</p> <p>UPDATE:</p> <p>I've created a ~/.ssh/config file where I've added a specific configuration for bitbucket.</p> <pre><code>Host bitbucket.org HostName bitbucket.org IdentityFile ~/.ssh/bitbucket User username </code></pre> <p>I've tested it with ssh -T git@bitbucket.org and It works, it gets authenticated.</p> <p>However, when I test this with XCode I got the following error. "Authentication failed because the name or password was incorrect."</p> <p>I know I'm missing something here.</p> <p>UPDATE 2:</p> <p>I've managed to solve the issue but only from command line, not from XCode. I'll post my solution later but feel free if you have a way to do it from XCode</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload