|
1 |
| -######################### |
2 |
| -# .gitignore file for Xcode4 and Xcode5 Source projects |
| 1 | +# General |
3 | 2 | #
|
4 |
| -# Apple bugs, waiting for Apple to fix/respond: |
5 |
| -# |
6 |
| -# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? |
7 |
| -# |
8 |
| -# Version 2.1 |
9 |
| -# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects |
10 |
| -# |
11 |
| -# 2013 updates: |
12 |
| -# - fixed the broken "save personal Schemes" |
13 |
| -# - added line-by-line explanations for EVERYTHING (some were missing) |
14 |
| -# |
15 |
| -# NB: if you are storing "built" products, this WILL NOT WORK, |
16 |
| -# and you should use a different .gitignore (or none at all) |
17 |
| -# This file is for SOURCE projects, where there are many extra |
18 |
| -# files that we want to exclude |
19 |
| -# |
20 |
| -######################### |
21 |
| - |
22 |
| -##### |
23 |
| -# OS X temporary files that should never be committed |
| 3 | +*.swp |
| 4 | + |
| 5 | +# OSX |
24 | 6 | #
|
25 |
| -# c.f. http://www.westwind.com/reference/os-x/invisibles.html |
26 |
| - |
27 | 7 | .DS_Store
|
28 |
| - |
29 |
| -# c.f. http://www.westwind.com/reference/os-x/invisibles.html |
30 |
| - |
31 |
| -.Trashes |
32 |
| - |
33 |
| -# c.f. http://www.westwind.com/reference/os-x/invisibles.html |
34 |
| - |
35 |
| -*.swp |
36 |
| - |
37 |
| -# *.lock - this is used and abused by many editors for many different things. |
38 |
| -# For the main ones I use (e.g. Eclipse), it should be excluded |
39 |
| -# from source-control, but YMMV |
40 |
| - |
41 |
| -*.lock |
42 |
| -!Podfile.lock |
43 |
| - |
| 8 | +Iconr |
| 9 | +Icon? |
| 10 | + |
| 11 | +## Windows |
44 | 12 | #
|
45 |
| -# profile - REMOVED temporarily (on double-checking, this seems incorrect; I can't find it in OS X docs?) |
46 |
| -#profile |
47 |
| - |
48 |
| - |
49 |
| -#### |
50 |
| -# Xcode temporary files that should never be committed |
51 |
| -# |
52 |
| -# NB: NIB/XIB files still exist even on Storyboard projects, so we want this... |
53 |
| - |
54 |
| -*~.nib |
55 |
| - |
56 |
| - |
57 |
| -#### |
58 |
| -# Xcode build files - |
| 13 | +desktop.ini |
| 14 | + |
| 15 | +# Xcode |
59 | 16 | #
|
60 |
| -# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData" |
61 |
| - |
62 |
| -DerivedData/ |
63 |
| - |
64 |
| -# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build" |
65 |
| - |
66 | 17 | build/
|
67 |
| - |
68 |
| - |
69 |
| -##### |
70 |
| -# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups) |
71 |
| -# |
72 |
| -# This is complicated: |
73 |
| -# |
74 |
| -# SOMETIMES you need to put this file in version control. |
75 |
| -# Apple designed it poorly - if you use "custom executables", they are |
76 |
| -# saved in this file. |
77 |
| -# 99% of projects do NOT use those, so they do NOT want to version control this file. |
78 |
| -# ..but if you're in the 1%, comment out the line "*.pbxuser" |
79 |
| - |
80 |
| -# .pbxuser: http://lists.apple.com/archives/xcode-users/2004/Jan/msg00193.html |
81 |
| - |
82 | 18 | *.pbxuser
|
83 |
| - |
84 |
| -# .mode1v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html |
85 |
| - |
86 |
| -*.mode1v3 |
87 |
| - |
88 |
| -# .mode2v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html |
89 |
| - |
90 |
| -*.mode2v3 |
91 |
| - |
92 |
| -# .perspectivev3: http://stackoverflow.com/questions/5223297/xcode-projects-what-is-a-perspectivev3-file |
93 |
| - |
94 |
| -*.perspectivev3 |
95 |
| - |
96 |
| -# NB: also, whitelist the default ones, some projects need to use these |
97 | 19 | !default.pbxuser
|
| 20 | +*.mode1v3 |
98 | 21 | !default.mode1v3
|
| 22 | +*.mode2v3 |
99 | 23 | !default.mode2v3
|
| 24 | +*.perspectivev3 |
100 | 25 | !default.perspectivev3
|
101 |
| - |
102 |
| - |
103 |
| -#### |
104 |
| -# Xcode 4 - semi-personal settings |
105 |
| -# |
106 |
| -# |
107 |
| -# OPTION 1: --------------------------------- |
108 |
| -# throw away ALL personal settings (including custom schemes! |
109 |
| -# - unless they are "shared") |
110 |
| -# |
111 |
| -# NB: this is exclusive with OPTION 2 below |
112 | 26 | xcuserdata
|
113 |
| - |
114 |
| -# OPTION 2: --------------------------------- |
115 |
| -# get rid of ALL personal settings, but KEEP SOME OF THEM |
116 |
| -# - NB: you must manually uncomment the bits you want to keep |
117 |
| -# |
118 |
| -# NB: this *requires* git v1.8.2 or above; you may need to upgrade to latest OS X, |
119 |
| -# or manually install git over the top of the OS X version |
120 |
| -# NB: this is exclusive with OPTION 1 above |
121 |
| -# |
122 |
| -#xcuserdata/**/* |
123 |
| - |
124 |
| -# (requires option 2 above): Personal Schemes |
125 |
| -# |
126 |
| -#!xcuserdata/**/xcschemes/* |
127 |
| - |
128 |
| -#### |
129 |
| -# XCode 4 workspaces - more detailed |
130 |
| -# |
131 |
| -# Workspaces are important! They are a core feature of Xcode - don't exclude them :) |
132 |
| -# |
133 |
| -# Workspace layout is quite spammy. For reference: |
134 |
| -# |
135 |
| -# /(root)/ |
136 |
| -# /(project-name).xcodeproj/ |
137 |
| -# project.pbxproj |
138 |
| -# /project.xcworkspace/ |
139 |
| -# contents.xcworkspacedata |
140 |
| -# /xcuserdata/ |
141 |
| -# /(your name)/xcuserdatad/ |
142 |
| -# UserInterfaceState.xcuserstate |
143 |
| -# /xcsshareddata/ |
144 |
| -# /xcschemes/ |
145 |
| -# (shared scheme name).xcscheme |
146 |
| -# /xcuserdata/ |
147 |
| -# /(your name)/xcuserdatad/ |
148 |
| -# (private scheme).xcscheme |
149 |
| -# xcschememanagement.plist |
150 |
| -# |
151 |
| -# |
152 |
| - |
153 |
| -#### |
154 |
| -# Xcode 4 - Deprecated classes |
155 |
| -# |
156 |
| -# Allegedly, if you manually "deprecate" your classes, they get moved here. |
157 |
| -# |
158 |
| -# We're using source-control, so this is a "feature" that we do not want! |
159 |
| - |
| 27 | +*.xccheckout |
160 | 28 | *.moved-aside
|
161 |
| - |
162 |
| -#### |
163 |
| -# Package manager files. |
| 29 | +DerivedData |
| 30 | +*.hmap |
| 31 | +*.ipa |
| 32 | +*.xcuserstate |
| 33 | +project.xcworkspace |
164 | 34 |
|
| 35 | +# iOS package manager files |
| 36 | +# |
165 | 37 | Pods/
|
166 | 38 | Carthage/
|
167 | 39 |
|
168 |
| -#### |
169 |
| -# AppCode IDE files |
170 |
| - |
171 |
| -.idea/ |
172 |
| -*.oc3ScN |
173 |
| -.zedstate |
| 40 | +# bundler |
| 41 | +.bundle |
| 42 | +vendor/bundle/ |
| 43 | +vendor/ruby/ |
0 commit comments