language13 aktive RegelnGeprüft am 2026-09-30
Swift .gitignore Vorlage
Swift Package Manager build artifacts, Xcode outputs, and modules. Deterministisch mit Mustern des offiziellen GitHub-Repositorys zusammengeführt, um dein Projekt sauber von Abhängigkeitsordnern, Build-Artefakten und lokalen Umgebungsvariablen zu halten.
Interaktiver Stack-Generator
Im vollständigen Generator öffnen/
Search for templates
Schnell hinzufügen:
Ausgewählt1
Swift
Ausgewählte Vorlagen (1)
Swift
language
Swift Package Manager build artifacts, Xcode outputs, and modules
#swift#swiftpm#apple-swift
.gitignore
13 Regeln•1 Vorlage
### Swift #### Xcode## gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore ## User settingsxcuserdata/ ## Obj-C/Swift specific*.hmap ## App packaging*.ipa*.dSYM.zip*.dSYM ## Playgroundstimeline.xctimelineplayground.xcworkspace # Swift Package Manager## Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.# Packages/# Package.pins# Package.resolved# *.xcodeproj## Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata# hence it is not needed unless you have added a package configuration file to your project# .swiftpm .build/ # CocoaPods## We recommend against adding the Pods directory to your .gitignore. However# you should judge for yourself, the pros and cons are mentioned at:# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control## Pods/## Add this line if you want to avoid checking in source code from the Xcode workspace# *.xcworkspace # Carthage## Add this line if you want to avoid checking in source code from Carthage dependencies.# Carthage/Checkouts Carthage/Build/ # fastlane## It is recommended to not store the screenshots in the git repo.# Instead, use fastlane to re-generate the screenshots whenever they are needed.# For more information about the recommended setup visit:# https://docs.fastlane.tools/best-practices/source-control/#source-control fastlane/report.xmlfastlane/Preview.htmlfastlane/screenshots/**/*.pngfastlane/test_output 64 Zeilen•UTF-8•LF
Deterministische Pipeline
Quellcode: Swift .gitignore
Crawlbare offizielle Upstream-Vorlageswift.gitignore•63 lines•UTF-8
# Xcode## gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore ## User settingsxcuserdata/ ## Obj-C/Swift specific*.hmap ## App packaging*.ipa*.dSYM.zip*.dSYM ## Playgroundstimeline.xctimelineplayground.xcworkspace # Swift Package Manager## Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.# Packages/# Package.pins# Package.resolved# *.xcodeproj## Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata# hence it is not needed unless you have added a package configuration file to your project# .swiftpm .build/ # CocoaPods## We recommend against adding the Pods directory to your .gitignore. However# you should judge for yourself, the pros and cons are mentioned at:# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control## Pods/## Add this line if you want to avoid checking in source code from the Xcode workspace# *.xcworkspace # Carthage## Add this line if you want to avoid checking in source code from Carthage dependencies.# Carthage/Checkouts Carthage/Build/ # fastlane## It is recommended to not store the screenshots in the git repo.# Instead, use fastlane to re-generate the screenshots whenever they are needed.# For more information about the recommended setup visit:# https://docs.fastlane.tools/best-practices/source-control/#source-control fastlane/report.xmlfastlane/Preview.htmlfastlane/screenshots/**/*.pngfastlane/test_output Wichtige Ausschlussmuster im Überblick
Build-Artefakte & Kompilate
Ignoriert kompilierte Binärdateien, Zwischendateien und Build-Ausgabeordner aus dem Kompiliervorgang.
.build/Carthage/Build/fastlane/test_output
Herkunft & Lizenzprüfung
Quelle:: Offizielle GitHub-gitignore (main)
Lizenz:: CC0-1.0
Platziere diese Datei unter dem Namen .gitignore im Stammverzeichnis deines Projekts. Die Änderungen greifen sofort für alle neuen und nicht getrackten Dateien.