|
| 1 | +######################### |
| 2 | +# .gitignore file for Xcode4 / OS X Source projects |
| 3 | +# |
| 4 | +# NB: if you are storing "built" products, this WILL NOT WORK, |
| 5 | +# and you should use a different .gitignore (or none at all) |
| 6 | +# This file is for SOURCE projects, where there are many extra |
| 7 | +# files that we want to exclude |
| 8 | +# |
| 9 | +# For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects |
| 10 | +######################### |
| 11 | + |
| 12 | +##### |
| 13 | +# OS X temporary files that should never be committed |
| 14 | + |
| 15 | +.DS_Store |
| 16 | +*.swp |
| 17 | +*.lock |
| 18 | +profile |
| 19 | + |
| 20 | + |
| 21 | +#### |
| 22 | +# Xcode temporary files that should never be committed |
| 23 | +# |
| 24 | +# NB: NIB/XIB files still exist even on Storyboard projects, so we want this... |
| 25 | + |
| 26 | +*~.nib |
| 27 | + |
| 28 | + |
| 29 | +#### |
| 30 | +# Xcode build files - |
| 31 | +# |
| 32 | +# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData" |
| 33 | + |
| 34 | +DerivedData/ |
| 35 | + |
| 36 | +# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build" |
| 37 | + |
| 38 | +build/ |
| 39 | + |
| 40 | + |
| 41 | +##### |
| 42 | +# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups) |
| 43 | +# |
| 44 | +# This is complicated: |
| 45 | +# |
| 46 | +# SOMETIMES you need to put this file in version control. |
| 47 | +# Apple designed it poorly - if you use "custom executables", they are |
| 48 | +# saved in this file. |
| 49 | +# 99% of projects do NOT use those, so they do NOT want to version control this file. |
| 50 | +# ..but if you're in the 1%, comment out the line "*.pbxuser" |
| 51 | + |
| 52 | +*.pbxuser |
| 53 | +*.mode1v3 |
| 54 | +*.mode2v3 |
| 55 | +*.perspectivev3 |
| 56 | +# NB: also, whitelist the default ones, some projects need to use these |
| 57 | +!default.pbxuser |
| 58 | +!default.mode1v3 |
| 59 | +!default.mode2v3 |
| 60 | +!default.perspectivev3 |
| 61 | + |
| 62 | + |
| 63 | +#### |
| 64 | +# Xcode 4 - semi-personal settings, often included in workspaces |
| 65 | +# |
| 66 | +# You can safely ignore the xcuserdata files - but do NOT ignore the files next to them |
| 67 | +# |
| 68 | + |
| 69 | +xcuserdata |
| 70 | + |
| 71 | +#### |
| 72 | +# XCode 4 workspaces - more detailed |
| 73 | +# |
| 74 | +# Workspaces are important! They are a core feature of Xcode - don't exclude them :) |
| 75 | +# |
| 76 | +# Workspace layout is quite spammy. For reference: |
| 77 | +# |
| 78 | +# (root)/ |
| 79 | +# (project-name).xcodeproj/ |
| 80 | +# project.pbxproj |
| 81 | +# project.xcworkspace/ |
| 82 | +# contents.xcworkspacedata |
| 83 | +# xcuserdata/ |
| 84 | +# (your name)/xcuserdatad/ |
| 85 | +# xcuserdata/ |
| 86 | +# (your name)/xcuserdatad/ |
| 87 | +# |
| 88 | +# |
| 89 | +# |
| 90 | +# Xcode 4 workspaces - SHARED |
| 91 | +# |
| 92 | +# This is UNDOCUMENTED (google: "developer.apple.com xcshareddata" - 0 results |
| 93 | +# But if you're going to kill personal workspaces, at least keep the shared ones... |
| 94 | +# |
| 95 | +# |
| 96 | +!xcshareddata |
| 97 | + |
| 98 | +#### |
| 99 | +# XCode 4 build-schemes |
| 100 | +# |
| 101 | +# PRIVATE ones are stored inside xcuserdata |
| 102 | +!xcschemes |
| 103 | + |
| 104 | +#### |
| 105 | +# Xcode 4 - Deprecated classes |
| 106 | +# |
| 107 | +# Allegedly, if you manually "deprecate" your classes, they get moved here. |
| 108 | +# |
| 109 | +# We're using source-control, so this is a "feature" that we do not want! |
| 110 | + |
| 111 | +*.moved-aside |
| 112 | + |
| 113 | +# CocoaPods |
| 114 | +/Pods |
0 commit comments