In my repo's .gitignore file, I have :
*.xcuserstate
which means I would like to ignore all files ending with .xcuserstate
.
I added that ignore rule long time ago. However, today I still see changes not stated for commit with following file
MyApp/MyApp.xcodeproj/project.xcworkspace/xcuserdata/john.xcuserdatad/UserInterfaceState.xcuserstate
Why? Why .gitignore doesn't work?