.gitignore for iOS projects

You just started to use git with your iOS projects and wants to know which files you should’t track for version control? Here is a list of files you should’t track which using git –


# old skool

# Exclude the build directory

# Exclude temp nibs and swap files

# Exclude user-specific XCode 3 and 4 files
*.xcodeproj/ !*.xcodeproj/project.pbxproj

#    NB: also, whitelist the default ones, some projects need to use these

# osx noise

You just need to create a .gitignore file in your project directory and put the above content in that file.

Leave a Reply

Your email address will not be published. Required fields are marked *