I am working on a new, existing project.
I just tried adding git to the project, but upon my first try at a commit, Git was telling me that there were files it did not know about.
Looking a bit further, I noticed that by selecting one of the files having problems, the "Full Path" is listed incorrectly.
It is listed as "/Users/Foo/ProjectDir/Mobile/mobile/The_File.m"
but the actual path to the file is:
One has Mobile/mobile and the other has Mobile/Mobile
Looking through other files in the project, some of the files are correct, and others are not.
I tried to delete the file, then re-add it, but that did not seem to work.
How can I fix what Xcode thinks is the path, but it is actually wrong?
Still not a great solution, but I found that I can update the path to the files by clicking the folder under the "Location" drop-down, and then choose the file. Doing this updates the path in Xcode so that it is now correct.
However, this is a bit slow. Is there a way to do this sort of update in a "bulk" fashion?