Skip to content

Instantly share code, notes, and snippets.

@kublaios
Created June 26, 2014 06:50
Show Gist options
  • Save kublaios/0f4a19bd0517a7fba08b to your computer and use it in GitHub Desktop.
Save kublaios/0f4a19bd0517a7fba08b to your computer and use it in GitHub Desktop.
Sample .gitignore for Xcode 4 & 5 Projects
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
*.DS_Store
*.lock
*.mode1v3
*.mode2v3
*.moved-aside
*.o
*.pbxuser
*.perspective
*.perspectivev3
*.pyc
*.swp
*.xcuserstate
*~.nib
.DS_Store
.Trashes
build/
DerivedData/
dist/
MANIFEST
project.xcworkspace/
xcuserdata
xcuserdata/
# About creating the .gitignore file after committing the project (From SO):
# I'd like to caution everyone who added .gitignore file after they have committed the project: those files you ignore are still being tracked. You'll have to remove them from git manually using git rm --cached <files>
# http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects#comment7628306_49488
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment