问题描述:

Xcode git problems again. Now when I routinely create new projects (inside of or outside of a workspace) I can't seem to get Source Control operations to work. However, I can see the repository in the Organizer and I can use external tools, including git command line tools with no problem. When I try anything via the File->Source Control menu I just see...

The repository "(null)" could not be reached

I've seen other people report this for SVN, which I don't use for these projects. Any advice?

Thanks,

~chuck

网友答案:

If your project is located in, let's say /usr/local/projects/your_project, then Xcode has a problem with locating the .git repository and the git functionality within Xcode does not work with that project.

Instead, just store your projects in ~/Documents/projects/your_project and Xcode's git functionality should start working again.

相关阅读:
Top