when committing or pulling I frequently get an error whith the file UserInterfaceState.xcuserstate which resides in the project folder. I'm not sure for what the file is good for, does anyone know?
Is it fine to just ignore it when committing?
Thanks in advance
You should be using a Git ignore file for those files. Here is a sample that I use:
# Xcode
build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
*.xcworkspace
!default.xcworkspace
xcuserdata
profile
*.moved-aside
Yes, you can add those to your git/svn ignore settings. You only need to commit the project.pbxproj part of the project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.