Skip to content

Commit ab684ae

Browse files
committed
Git ignore
1 parent d8e38b6 commit ab684ae

File tree

1 file changed

+161
-0
lines changed

1 file changed

+161
-0
lines changed

.gitignore

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

0 commit comments

Comments
 (0)