title: .gitignore not working for xcuserdata directory in XCode project
body: <p>This is my gitignore file:</p>
  
  <pre><code># Xcode
  *.pbxuser
  *.mode1v3
  *.mode2v3
  *.perspectivev3
  *.xcuserstate
  project.xcworkspace/
  xcuserdata/
  </code></pre>
  
  <p>However, it still detects changes here:</p>
  
  <pre><code>BW.xcodeproj/project.xcworkspace/xcuserdata/cooluser.xcuserdatad/UserInterfaceState.xcuserstate
  </code></pre>
  
  <p>This is on XCode 6. </p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks!</p>