Skip to content

Instantly share code, notes, and snippets.

@bojan
Last active August 8, 2022 07:43
Show Gist options
  • Save bojan/8706331 to your computer and use it in GitHub Desktop.
Save bojan/8706331 to your computer and use it in GitHub Desktop.
Git ignore file for development on Apple platforms. Covers Xcode, AppCode, SPM, Carthage, CocoaPods, Fastlane, etc.
# --------------------------------
# macOS temporary files
# --------------------------------
.DS_Store
*.lock
*.swp
# --------------------------------
# Xcode
# --------------------------------
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
!default.xcworkspace
!xcschemes
!xcshareddata
.build/
.swiftpm/
*.hmap
*.ipa
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
*.xccheckout
*.xcscmblueprint
*.xcuserstate
*.xcworkspacedata
*~.nib
build/
Builds/
DerivedData/
xcuserdata
IDEWorkspaceChecks.plist
# --------------------------------
# AppCode
# --------------------------------
.idea/
# --------------------------------
# Visual Studio Code
# --------------------------------
.vscode/
# --------------------------------
# CocoaPods
# --------------------------------
!Podfile
!Podfile.lock
Pods/
# --------------------------------
# Carthage
# --------------------------------
!Cartfile
!Cartfile.private
!Cartfile.resolved
!Carthage/Checkouts
Carthage/Build
Carthage/Build.rbenv-vars
# --------------------------------
# Fastlane
# --------------------------------
fastlane/Preview.html
fastlane/report.xml
fastlane/test_output
# --------------------------------
# dotenv
# --------------------------------
.env
# --------------------------------
# rbenv
# --------------------------------
.rbenv-vars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment