|
| 1 | +######################### |
| 2 | +# .gitignore file for Xcode 7 Source Projects |
| 3 | +# can be used for watchOS, tvOS, iOS, OSX, Swift development |
| 4 | +# |
| 5 | +# February 2016 |
| 6 | +# |
| 7 | +# Save this file as .gitignore in your repository's working directly. |
| 8 | +# Note: Don't confuse the working directory with the .git directory. It will not work if you put it there. |
| 9 | +# |
| 10 | +##### |
| 11 | +# OS X temporary files that should never be committed |
| 12 | +# |
| 13 | +# c.f. http://www.westwind.com/reference/os-x/invisibles.html |
| 14 | + |
| 15 | +.DS_Store |
| 16 | + |
| 17 | +# c.f. http://www.westwind.com/reference/os-x/invisibles.html |
| 18 | + |
| 19 | +.Trashes |
| 20 | + |
| 21 | +# c.f. http://www.westwind.com/reference/os-x/invisibles.html |
| 22 | + |
| 23 | +*.swp |
| 24 | + |
| 25 | +# |
| 26 | +# *.lock - this is used and abused by many editors for many different things. |
| 27 | +# For the main ones I use (e.g. Eclipse), it should be excluded |
| 28 | +# from source-control, but YMMV. |
| 29 | +# (lock files are usually local-only file-synchronization on the local FS that should NOT go in git) |
| 30 | +# c.f. the "OPTIONAL" section at bottom though, for tool-specific variations! |
| 31 | +# |
| 32 | +# In particular, if you're using CocoaPods, you'll want to comment-out this line: |
| 33 | +#*.lock |
| 34 | + |
| 35 | + |
| 36 | +# |
| 37 | +# profile - REMOVED temporarily (on double-checking, I can't find it in OS X docs?) |
| 38 | +#profile |
| 39 | + |
| 40 | + |
| 41 | +#### |
| 42 | +# Xcode temporary files that should never be committed |
| 43 | +# |
| 44 | +# NB: NIB/XIB files still exist even on Storyboard projects, so we want this... |
| 45 | + |
| 46 | +*~.nib |
| 47 | + |
| 48 | + |
| 49 | +#### |
| 50 | +# Xcode build files - |
| 51 | +# |
| 52 | +# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData" |
| 53 | + |
| 54 | +#DerivedData/ |
| 55 | + |
| 56 | +# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build" |
| 57 | + |
| 58 | +#build/ |
| 59 | + |
| 60 | + |
| 61 | +##### |
| 62 | +# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups) |
| 63 | +# |
| 64 | +# This is complicated: |
| 65 | +# |
| 66 | +# SOMETIMES you need to put this file in version control. |
| 67 | +# Apple designed it poorly - if you use "custom executables", they are |
| 68 | +# saved in this file. |
| 69 | +# 99% of projects do NOT use those, so they do NOT want to version control this file. |
| 70 | +# ..but if you're in the 1%, comment out the line "*.pbxuser" |
| 71 | + |
| 72 | +# .pbxuser: http://lists.apple.com/archives/xcode-users/2004/Jan/msg00193.html |
| 73 | + |
| 74 | +*.pbxuser |
| 75 | + |
| 76 | +# .mode1v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html |
| 77 | + |
| 78 | +*.mode1v3 |
| 79 | + |
| 80 | +# .mode2v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html |
| 81 | + |
| 82 | +*.mode2v3 |
| 83 | + |
| 84 | +# .perspectivev3: http://stackoverflow.com/questions/5223297/xcode-projects-what-is-a-perspectivev3-file |
| 85 | + |
| 86 | +*.perspectivev3 |
| 87 | + |
| 88 | +# NB: also, whitelist the default ones, some projects need to use these |
| 89 | +#!default.pbxuser |
| 90 | +#!default.mode1v3 |
| 91 | +#!default.mode2v3 |
| 92 | +#!default.perspectivev3 |
| 93 | + |
| 94 | + |
| 95 | +#### |
| 96 | +# Xcode 4 - semi-personal settings |
| 97 | +# |
| 98 | +# Apple Shared data that Apple put in the wrong folder |
| 99 | +# c.f. http://stackoverflow.com/a/19260712/153422 |
| 100 | +# FROM ANSWER: Apple says "don't ignore it" |
| 101 | +# 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 |
| 102 | +# Up to you, but ... current advice: ignore it. |
| 103 | +*.xccheckout |
| 104 | + |
| 105 | +# |
| 106 | +# |
| 107 | +# OPTION 1: --------------------------------- |
| 108 | +# throw away ALL personal settings (including custom schemes! |
| 109 | +# - unless they are "shared") |
| 110 | +# As per build/ and DerivedData/, this ought to have a trailing slash |
| 111 | +# |
| 112 | +# NB: this is exclusive with OPTION 2 below |
| 113 | +#xcuserdata/ |
| 114 | + |
| 115 | +# OPTION 2: --------------------------------- |
| 116 | +# get rid of ALL personal settings, but KEEP SOME OF THEM |
| 117 | +# - NB: you must manually uncomment the bits you want to keep |
| 118 | +# |
| 119 | +# NB: this *requires* git v1.8.2 or above; you may need to upgrade to latest OS X, |
| 120 | +# or manually install git over the top of the OS X version |
| 121 | +# NB: this is exclusive with OPTION 1 above |
| 122 | +# |
| 123 | +#xcuserdata/**/* |
| 124 | + |
| 125 | +# (requires option 2 above): Personal Schemes |
| 126 | +# |
| 127 | +#!xcuserdata/**/xcschemes/* |
| 128 | + |
| 129 | +#### |
| 130 | +# XCode 4 workspaces - more detailed |
| 131 | +# |
| 132 | +# Workspaces are important! They are a core feature of Xcode - don't exclude them :) |
| 133 | +# |
| 134 | +# Workspace layout is quite spammy. For reference: |
| 135 | +# |
| 136 | +# /(root)/ |
| 137 | +# /(project-name).xcodeproj/ |
| 138 | +# project.pbxproj |
| 139 | +# /project.xcworkspace/ |
| 140 | +# contents.xcworkspacedata |
| 141 | +# /xcuserdata/ |
| 142 | +# /(your name)/xcuserdatad/ |
| 143 | +# UserInterfaceState.xcuserstate |
| 144 | +# /xcshareddata/ |
| 145 | +# /xcschemes/ |
| 146 | +# (shared scheme name).xcscheme |
| 147 | +# /xcuserdata/ |
| 148 | +# /(your name)/xcuserdatad/ |
| 149 | +# (private scheme).xcscheme |
| 150 | +# xcschememanagement.plist |
| 151 | +# |
| 152 | +# |
| 153 | + |
| 154 | +#### |
| 155 | +# Xcode 4 - Deprecated classes |
| 156 | +# |
| 157 | +# Allegedly, if you manually "deprecate" your classes, they get moved here. |
| 158 | +# |
| 159 | +# We're using source-control, so this is a "feature" that we do not want! |
| 160 | + |
| 161 | +#*.moved-aside |
| 162 | + |
| 163 | +#### |
| 164 | +# OPTIONAL: Some well-known tools that people use side-by-side with Xcode / iOS development |
| 165 | +# |
| 166 | +# NB: I'd rather not include these here, but gitignore's design is weak and doesn't allow |
| 167 | +# modular gitignore: you have to put EVERYTHING in one file. |
| 168 | +# |
| 169 | +# COCOAPODS: |
| 170 | +# |
| 171 | +# c.f. http://guides.cocoapods.org/using/using-cocoapods.html#what-is-a-podfilelock |
| 172 | +# c.f. http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control |
| 173 | +# |
| 174 | +#!Podfile.lock |
| 175 | +# |
| 176 | +# RUBY: |
| 177 | +# |
| 178 | +# c.f. http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/ |
| 179 | +# |
| 180 | +#!Gemfile.lock |
| 181 | +# |
| 182 | +# IDEA: |
| 183 | +# |
| 184 | +# c.f. https://www.jetbrains.com/objc/help/managing-projects-under-version-control.html?search=workspace.xml |
| 185 | +# |
| 186 | +#.idea/workspace.xml |
| 187 | +# |
| 188 | +# TEXTMATE: |
| 189 | +# |
| 190 | +# -- UNVERIFIED: c.f. http://stackoverflow.com/a/50283/153422 |
| 191 | +# |
| 192 | +#tm_build_errors |
| 193 | + |
| 194 | +# Swift Package Manager |
| 195 | +# |
| 196 | +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. |
| 197 | +# Packages/ |
| 198 | +.build/ |
| 199 | + |
| 200 | +# CocoaPods |
| 201 | +# |
| 202 | +# We recommend against adding the Pods directory to your .gitignore. However |
| 203 | +# you should judge for yourself, the pros and cons are mentioned at: |
| 204 | +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control |
| 205 | +# |
| 206 | +# Pods/ |
| 207 | + |
| 208 | +# Carthage |
| 209 | +# |
| 210 | +# Add this line if you want to avoid checking in source code from Carthage dependencies. |
| 211 | +# Carthage/Checkouts |
| 212 | + |
| 213 | +Carthage/Build |
| 214 | + |
| 215 | +# fastlane |
| 216 | +# |
| 217 | +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the |
| 218 | +# screenshots whenever they are needed. |
| 219 | +# For more information about the recommended setup visit: |
| 220 | +# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md |
| 221 | + |
| 222 | +fastlane/report.xml |
| 223 | +fastlane/screenshots |
0 commit comments