title: Can't exclude user interface state from commit in xcode
body: <p>I can't exclude user interface state file from commit.</p>
  
  <p>Every time I'm trying to push to github it asks me to commit first and insert user interface state file into the changes (even if I didn't move the mouse or interface at all it still is shown to commit!).</p>
  
  <p>I tried different methods, described in other similar topics. For example, I tried to add all possible cases of user interface into the .gitignore in root, like this:</p>
  
  <pre><code>*.xcuserstate
  project.xcworkspace
  xcuserdata
  UserInterfaceState.xcuserstate
  project.xcworkspace/
  xcuserdata/
  UserInterface.xcuserstate
  </code></pre>
  
  <p>It didn't work.
  I tried to clean the cache and reset git, didn't help.</p>
  
  <p>Git status command says the following:  "modified:   .xcodeproj/project.xcworkspace/xcuserdata/.xcuserdatad/UserInterfaceState.xcuserstate" </p>
  
  <p>And it looks like this 
  <img src="https://dl.dropboxusercontent.com/u/8620623/git.png"> </p>
  
  <p>Please help (it is driving me crazy)!</p>