Skip to content

Commit 63ba4c6

Browse files
committed
Merge PR nygard#59 from 'apjanke/add-gitignore'
nygard#59 # Conflicts: # class-dump.xcodeproj/xcuserdata/nygard.xcuserdatad/xcschemes/class-dump.xcscheme
2 parents f18d9bf + 4a6925a commit 63ba4c6

File tree

7 files changed

+155
-727
lines changed

7 files changed

+155
-727
lines changed

.gitignore

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

class-dump.xcodeproj/xcuserdata/nygard.xcuserdatad/xcschemes/MachObjC.xcscheme

Lines changed: 0 additions & 82 deletions
This file was deleted.

class-dump.xcodeproj/xcuserdata/nygard.xcuserdatad/xcschemes/all.xcscheme

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)