views:

51

answers:

1

I have OSX installed on a case preserving but not case sensitive partition: Which seems to be causing XCode and SVN to fight.

At various points, for reasons I cannot discern, XCode will take a file that has mixed case, and save it in all lowercase to the file system. XCode will continue to display in its file lists the mixes case file.

SVN however is strictly case sensitive reports however will see the lowercase file, so when XCode does a SCM status check the SCM node will list the file twice.

? missingfile.cpp
! MissingFile.cpp

My only way to fix this is to go with Finder to the file on disk, and rename it from "missingfile.cpp" back to "MissingFile.cpp".

What can I be doing that causes XCode to loose the case of the file? Is this a known bug?

A: 

I would suggest examining the Xcode project file (e.g. MyProject.xcodeproj/project.pbxproj) in a text editor and checking whether it's storing the proper mixed-case filename, or in lower case. If the latter, you could fix the project file manually, and that might fix the problem.

Otherwise, it could be a bug in Xcode - which should probably be reported...

Nick Dowell