Search code examples
gitxcode4

What do all the changes to .xuserstate and .xcscheme files represent?


Whenever I check in changes to my OS X app Xcode 4 projects into git, a lot of lines of files like these get changed with practically every commit

 .../UserInterfaceState.xcuserstate                 | 3927 ++++++++++++++++++++
 .../test.xcuserdatad/xcschemes/Deployment.xcscheme |   72 +
 .../test.xcuserdatad/xcschemes/Hush.xcscheme       |   76 +
 .../xcschemes/xcschememanagement.plist   

Is this stuff necessary to put under version control? The changes to *.xcuserstate clutter up the output of git log -p so much.


Solution

  • Here is a post that describes what can safely be put in the ignore files:

    xcodeproj under version control

    It looks like you can safely ignore some of them.

    Here are a few others posts: