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