I\'m using Git for Xcode 4 project version control. I\'ve explicitly added ProjectFolder.xcodeproj/project.xcworkspace/xcuserdata/myUserName.xcuserdatad/UserInterface
ProjectFolder.xcodeproj/project.xcworkspace/xcuserdata/myUserName.xcuserdatad/UserInterface
This works for me
Open the folder which contains the project file project.xcworkspace from the terminal.
project.xcworkspace
Write this command: git rm --cached *xcuserstate
git rm --cached *xcuserstate
This will remove the file.