title: .gitignore for everything inside the xcuserdata folder does not ignore an xcuserstate file
body: <p>I'm working in a Xcode project, and I'm trying to configure the .gitignore to not get anything inside the xcuserdata folder.</p>
  
  <p>I have the following .gitignore:</p>
  
  <pre><code># Xcode
  .DS_Store
  */build/*
  *.pbxuser
  !default.pbxuser
  *.mode1v3
  !default.mode1v3
  *.mode2v3
  !default.mode2v3
  *.perspectivev3
  !default.perspectivev3
  xcuserdata
  profile
  *.moved-aside
  DerivedData
  .idea/
  *.hmap
  xcuserdata/*
  </code></pre>
  
  <p>but every time that I build/run the project and execute <code>git status</code>, it still shows the following midified file:</p>
  
  <pre><code>modified: MyProject.xcodeproj/project.xcworkspace/xcuserdata/fernando.xcuserdatad/UserInterfaceState.xcuserstate
  </code></pre>
  
  <p>Does anybody have any idea what's wrong?</p>