Skip to content

Instantly share code, notes, and snippets.

@mbelsky
Last active February 13, 2017 17:28
Show Gist options
  • Save mbelsky/3a9cfb4e4965ae7ca684 to your computer and use it in GitHub Desktop.
Save mbelsky/3a9cfb4e4965ae7ca684 to your computer and use it in GitHub Desktop.
.gitignore file for Objective-C, Swift, xCode 7, CocoaPods
####
# OS X temporary files that should never be committed
#
# c.f. http://www.westwind.com/reference/os-x/invisibles.html
.DS_Store
# c.f. http://www.westwind.com/reference/os-x/invisibles.html
.Trashes
# c.f. http://www.westwind.com/reference/os-x/invisibles.html
*.swp
####
# Xcode temporary files that should never be committed
#
# NB: NIB/XIB files still exist even on Storyboard projects, so we want this...
*~.nib
####
# Xcode build files -
#
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData"
DerivedData/
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build"
build/
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
## Other
*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint
## Obj-C/Swift specific
*.hmap
*.ipa
## Playgrounds
timeline.xctimeline
playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
.build/
## Carthage
Carthage/
## CocoaPods
#Pods/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment