.gitignore 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #####
  2. # OS X temporary files that should never be committed
  3. #
  4. # c.f. http://www.westwind.com/reference/os-x/invisibles.html
  5. .DS_Store
  6. # c.f. http://www.westwind.com/reference/os-x/invisibles.html
  7. .Trashes
  8. # c.f. http://www.westwind.com/reference/os-x/invisibles.html
  9. *.swp
  10. #
  11. # *.lock - this is used and abused by many editors for many different things.
  12. # For the main ones I use (e.g. Eclipse), it should be excluded
  13. # from source-control, but YMMV.
  14. # (lock files are usually local-only file-synchronization on the local FS that should NOT go in git)
  15. # c.f. the "OPTIONAL" section at bottom though, for tool-specific variations!
  16. #
  17. # In particular, if you're using CocoaPods, you'll want to comment-out this line:
  18. *.lock
  19. #
  20. # profile - REMOVED temporarily (on double-checking, I can't find it in OS X docs?)
  21. #profile
  22. ####
  23. # Xcode temporary files that should never be committed
  24. #
  25. # NB: NIB/XIB files still exist even on Storyboard projects, so we want this...
  26. *~.nib
  27. ####
  28. # Xcode build files -
  29. #
  30. # NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData"
  31. DerivedData/
  32. # NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build"
  33. build/
  34. #####
  35. # Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups)
  36. #
  37. # This is complicated:
  38. #
  39. # SOMETIMES you need to put this file in version control.
  40. # Apple designed it poorly - if you use "custom executables", they are
  41. # saved in this file.
  42. # 99% of projects do NOT use those, so they do NOT want to version control this file.
  43. # ..but if you're in the 1%, comment out the line "*.pbxuser"
  44. # .pbxuser: http://lists.apple.com/archives/xcode-users/2004/Jan/msg00193.html
  45. *.pbxuser
  46. # .mode1v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html
  47. *.mode1v3
  48. # .mode2v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html
  49. *.mode2v3
  50. # .perspectivev3: http://stackoverflow.com/questions/5223297/xcode-projects-what-is-a-perspectivev3-file
  51. *.perspectivev3
  52. # NB: also, whitelist the default ones, some projects need to use these
  53. !default.pbxuser
  54. !default.mode1v3
  55. !default.mode2v3
  56. !default.perspectivev3
  57. ####
  58. # Xcode 4 - semi-personal settings
  59. #
  60. # Apple Shared data that Apple put in the wrong folder
  61. # c.f. http://stackoverflow.com/a/19260712/153422
  62. # FROM ANSWER: Apple says "don't ignore it"
  63. # FROM COMMENTS: Apple is wrong; Apple code is too buggy to trust; there are no known negative side-effects to ignoring Apple's unofficial advice and instead doing the thing that actively fixes bugs in Xcode
  64. # Up to you, but ... current advice: ignore it.
  65. *.xccheckout
  66. #
  67. #
  68. # OPTION 1: ---------------------------------
  69. # throw away ALL personal settings (including custom schemes!
  70. # - unless they are "shared")
  71. # As per build/ and DerivedData/, this ought to have a trailing slash
  72. #
  73. # NB: this is exclusive with OPTION 2 below
  74. xcuserdata/