Skip to content

Instantly share code, notes, and snippets.

@untalfranfernandez
Created November 2, 2016 15:58
Show Gist options
  • Save untalfranfernandez/f9932347676ddc51611736befc785651 to your computer and use it in GitHub Desktop.
Save untalfranfernandez/f9932347676ddc51611736befc785651 to your computer and use it in GitHub Desktop.
Basic .gitignore for iOS
###############
# OS X Finder #
###############
.DS_Store
####################
## Build generated #
####################
build/
DerivedData/
####################
# 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
#########################
# Swift Package Manager #
#########################
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
#
.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:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
Pods
############
# Carthage #
############
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://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
#
fastlane/report.xml
fastlane/screenshots
####################
# Testflight Build #
####################
*.dSYM.zip
*.certSigningRequest
*.p12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment