When I create a new project in XCode 6.0.1, I got this error message: The file "exclude" doesn't exist
It seems to only impact the versioning of the files i.e. the generated stub files are not committed into github after the project is created.
What can cause this problem?
I had this issue as well, and I tracked it down to the
.git-template
folder included with Thoughtbot's dotfiles. Basically, Xcode expects its template folder to haveinfo/exclude
, and Thoughtbot's dotfiles don't. Creating that directory and file fixed the problem, as so (in the Terminal):If you're getting this issue without Thoughtbot's dotfiles, you could probably look at
~/.gitconfig
and use whatevertemplatedir
is getting set as instead of~/.git_template
in the first command.