|
| 1 | +# Created by |
| 2 | +https://www.toptal.com/developers/gitignore/api/xcode,macos,swift,swiftpackagemanager |
| 3 | +# Edit at |
| 4 | +https://www.toptal.com/developers/gitignore?templates=xcode,macos,swift,swiftpackagemanager |
| 5 | + |
| 6 | +### macOS ### |
| 7 | +# General |
| 8 | +.DS_Store |
| 9 | +.AppleDouble |
| 10 | +.LSOverride |
| 11 | + |
| 12 | +# Icon must end with two \r |
| 13 | +Icon |
| 14 | + |
| 15 | + |
| 16 | +# Thumbnails |
| 17 | +._* |
| 18 | + |
| 19 | +# Files that might appear in the root of a volume |
| 20 | +.DocumentRevisions-V100 |
| 21 | +.fseventsd |
| 22 | +.Spotlight-V100 |
| 23 | +.TemporaryItems |
| 24 | +.Trashes |
| 25 | +.VolumeIcon.icns |
| 26 | +.com.apple.timemachine.donotpresent |
| 27 | + |
| 28 | +# Directories potentially created on remote AFP share |
| 29 | +.AppleDB |
| 30 | +.AppleDesktop |
| 31 | +Network Trash Folder |
| 32 | +Temporary Items |
| 33 | +.apdisk |
| 34 | + |
| 35 | +### macOS Patch ### |
| 36 | +# iCloud generated files |
| 37 | +*.icloud |
| 38 | + |
| 39 | +### Swift ### |
| 40 | +# Xcode |
| 41 | +# |
| 42 | +# gitignore contributors: remember to update Global/Xcode.gitignore, |
| 43 | +Objective-C.gitignore & Swift.gitignore |
| 44 | + |
| 45 | +## User settings |
| 46 | +xcuserdata/ |
| 47 | + |
| 48 | +## compatibility with Xcode 8 and earlier (ignoring not required starting |
| 49 | +Xcode 9) |
| 50 | +*.xcscmblueprint |
| 51 | +*.xccheckout |
| 52 | + |
| 53 | +## compatibility with Xcode 3 and earlier (ignoring not required starting |
| 54 | +Xcode 4) |
| 55 | +build/ |
| 56 | +DerivedData/ |
| 57 | +*.moved-aside |
| 58 | +*.pbxuser |
| 59 | +!default.pbxuser |
| 60 | +*.mode1v3 |
| 61 | +!default.mode1v3 |
| 62 | +*.mode2v3 |
| 63 | +!default.mode2v3 |
| 64 | +*.perspectivev3 |
| 65 | +!default.perspectivev3 |
| 66 | + |
| 67 | +## Obj-C/Swift specific |
| 68 | +*.hmap |
| 69 | + |
| 70 | +## App packaging |
| 71 | +*.ipa |
| 72 | +*.dSYM.zip |
| 73 | +*.dSYM |
| 74 | + |
| 75 | +## Playgrounds |
| 76 | +timeline.xctimeline |
| 77 | +playground.xcworkspace |
| 78 | + |
| 79 | +# Swift Package Manager |
| 80 | +# Add this line if you want to avoid checking in source code from Swift |
| 81 | +Package Manager dependencies. |
| 82 | +# Packages/ |
| 83 | +# Package.pins |
| 84 | +# Package.resolved |
| 85 | +# *.xcodeproj |
| 86 | +# Xcode automatically generates this directory with a .xcworkspacedata |
| 87 | +file and xcuserdata |
| 88 | +# hence it is not needed unless you have added a package configuration |
| 89 | +file to your project |
| 90 | +# .swiftpm |
| 91 | + |
| 92 | +.build/ |
| 93 | + |
| 94 | +# CocoaPods |
| 95 | +# We recommend against adding the Pods directory to your .gitignore. |
| 96 | +However |
| 97 | +# you should judge for yourself, the pros and cons are mentioned at: |
| 98 | +# |
| 99 | +https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control |
| 100 | +# Pods/ |
| 101 | +# Add this line if you want to avoid checking in source code from the |
| 102 | +Xcode workspace |
| 103 | +# *.xcworkspace |
| 104 | + |
| 105 | +# Carthage |
| 106 | +# Add this line if you want to avoid checking in source code from Carthage |
| 107 | +dependencies. |
| 108 | +# Carthage/Checkouts |
| 109 | + |
| 110 | +Carthage/Build/ |
| 111 | + |
| 112 | +# Accio dependency management |
| 113 | +Dependencies/ |
| 114 | +.accio/ |
| 115 | + |
| 116 | +# fastlane |
| 117 | +# It is recommended to not store the screenshots in the git repo. |
| 118 | +# Instead, use fastlane to re-generate the screenshots whenever they are |
| 119 | +needed. |
| 120 | +# For more information about the recommended setup visit: |
| 121 | +# |
| 122 | +https://docs.fastlane.tools/best-practices/source-control/#source-control |
| 123 | + |
| 124 | +fastlane/report.xml |
| 125 | +fastlane/Preview.html |
| 126 | +fastlane/screenshots/**/*.png |
| 127 | +fastlane/test_output |
| 128 | + |
| 129 | +# Code Injection |
| 130 | +# After new code Injection tools there's a generated folder |
| 131 | +/iOSInjectionProject |
| 132 | +# https://github.com/johnno1962/injectionforxcode |
| 133 | + |
| 134 | +iOSInjectionProject/ |
| 135 | + |
| 136 | +### SwiftPackageManager ### |
| 137 | +Packages |
| 138 | +xcuserdata |
| 139 | +*.xcodeproj |
| 140 | + |
| 141 | + |
| 142 | +### Xcode ### |
| 143 | + |
| 144 | +## Xcode 8 and earlier |
| 145 | + |
| 146 | +### Xcode Patch ### |
| 147 | +*.xcodeproj/* |
| 148 | +!*.xcodeproj/project.pbxproj |
| 149 | +!*.xcodeproj/xcshareddata/ |
| 150 | +!*.xcodeproj/project.xcworkspace/ |
| 151 | +!*.xcworkspace/contents.xcworkspacedata |
| 152 | +/*.gcno |
| 153 | +**/xcshareddata/WorkspaceSettings.xcsettings |
| 154 | + |
| 155 | +# End of |
| 156 | +https://www.toptal.com/developers/gitignore/api/xcode,macos,swift,swiftpackagemanager |
0 commit comments