Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

git

xcode4

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.

like image 895
dan Avatar asked Jul 21 '11 01:07

dan


People also ask

What is an Xcscheme file?

What is an XCSCHEME file? File used by Apple Xcode, an application that helps users develop iOS and Mac OS X applications; contains build, run, test, profile, analyze, and archive configuration information for your project.


1 Answers

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:

  • What files in an Xcode iOS project should I tell Mercurial to ignore?
  • SVN ignore pattern with Xcode 4
  • Git ignore file for Xcode projects
like image 89
Andy Avatar answered Jan 01 '23 09:01

Andy