

Next to it there's a yellow ball and 'Authentication required'.


#Git add remote to existing project password
When I enter my password Xcode 4 then crashes with the following error ASSERTION FAILURE in /SourceCache/IDEKit/IDEKit-303/Framework/Classes/SourceControl/IDESourceControlOperationInfo.m:59ĭetails: Message sent to invalidated object. However when I click 'Push' and it tries to push the changes it says "The operation could not be performed because access to the repository 'origin' is denied."Ī dialog prompting me for my username and password then appears with my pre-filled out so it must be reading this correctly from the local repository's config. There's a yellow indicator saying that Authentication is required, which is fine as I've not been able to enter my credentials yet for HTTPS. dialog appears listing the origin remote repository. Then the Choose the repository to which to push changes. git remote add origin I then go back to Xcode 4 and try to use So I switch to using git commands in Terminal. I can add a GitHub repository to Xcode 4 as a new Repository in the Organizer window but there's no method of setting it as a remote repository for my existing project. When I want to push the new project to GitHub I want to add a remote repository and push my local changes up to GitHub. If I create a new Xcode 4 Project and accept the option to create a local Git repository, all is well. The Git integration in Xcode 4 is very welcome however it seems to be a bit flaky when it comes to dealing with remote repositories.įor clarity I'm using OS X version 10.6.7 and Xcode 4.0.2 (4A2002a).
