1+ # Created by https://www.toptal.com/developers/gitignore/api/xcode,swift,macos
2+ # Edit at https://www.toptal.com/developers/gitignore?templates=xcode,swift,macos
3+
4+ # ## macOS ###
5+ # General
6+ .DS_Store
7+ .AppleDouble
8+ .LSOverride
9+
10+ # Icon must end with two \r
11+ Icon
12+
13+
14+ # Thumbnails
15+ ._ *
16+
17+ # Files that might appear in the root of a volume
18+ .DocumentRevisions-V100
19+ .fseventsd
20+ .Spotlight-V100
21+ .TemporaryItems
22+ .Trashes
23+ .VolumeIcon.icns
24+ .com.apple.timemachine.donotpresent
25+
26+ # Directories potentially created on remote AFP share
27+ .AppleDB
28+ .AppleDesktop
29+ Network Trash Folder
30+ Temporary Items
31+ .apdisk
32+
33+ # ## macOS Patch ###
34+ # iCloud generated files
35+ * .icloud
36+
37+ # ## Swift ###
138# Xcode
239#
340# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
441
542# # User settings
643xcuserdata /
744
45+ # # compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
46+ * .xcscmblueprint
47+ * .xccheckout
48+
49+ # # compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
50+ build /
51+ DerivedData /
52+ * .moved-aside
53+ * .pbxuser
54+ ! default.pbxuser
55+ * .mode1v3
56+ ! default.mode1v3
57+ * .mode2v3
58+ ! default.mode2v3
59+ * .perspectivev3
60+ ! default.perspectivev3
61+
862# # Obj-C/Swift specific
963* .hmap
1064
@@ -18,39 +72,36 @@ timeline.xctimeline
1872playground.xcworkspace
1973
2074# Swift Package Manager
21- #
2275# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
2376# Packages/
2477# Package.pins
2578# Package.resolved
2679# *.xcodeproj
27- #
2880# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
2981# hence it is not needed unless you have added a package configuration file to your project
3082# .swiftpm
3183
3284.build /
3385
3486# CocoaPods
35- #
3687# We recommend against adding the Pods directory to your .gitignore. However
3788# you should judge for yourself, the pros and cons are mentioned at:
3889# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
39- #
4090# Pods/
41- #
4291# Add this line if you want to avoid checking in source code from the Xcode workspace
4392# *.xcworkspace
4493
4594# Carthage
46- #
4795# Add this line if you want to avoid checking in source code from Carthage dependencies.
4896# Carthage/Checkouts
4997
5098Carthage /Build /
5199
100+ # Accio dependency management
101+ Dependencies /
102+ .accio /
103+
52104# fastlane
53- #
54105# It is recommended to not store the screenshots in the git repo.
55106# Instead, use fastlane to re-generate the screenshots whenever they are needed.
56107# For more information about the recommended setup visit:
@@ -60,3 +111,24 @@ fastlane/report.xml
60111fastlane /Preview.html
61112fastlane /screenshots /** /* .png
62113fastlane /test_output
114+
115+ # Code Injection
116+ # After new code Injection tools there's a generated folder /iOSInjectionProject
117+ # https://github.com/johnno1962/injectionforxcode
118+
119+ iOSInjectionProject /
120+
121+ # ## Xcode ###
122+
123+ # # Xcode 8 and earlier
124+
125+ # ## Xcode Patch ###
126+ * .xcodeproj /*
127+ ! * .xcodeproj /project.pbxproj
128+ ! * .xcodeproj /xcshareddata /
129+ ! * .xcodeproj /project.xcworkspace /
130+ ! * .xcworkspace /contents.xcworkspacedata
131+ /* .gcno
132+ ** /xcshareddata /WorkspaceSettings.xcsettings
133+
134+ # End of https://www.toptal.com/developers/gitignore/api/xcode,swift,macos
0 commit comments