A typical .gitignore file for iOS Application Developers

In my previous article i gave you instruction about [code].gitignore[/code] for Android studio 2.2 projects. Here i will cover the .gitignore contents that you want to cover in  xcode 8.0 and latest projects.

 

[code]

# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint

# Xcode
.DS_Store
*.xcworkspace
!default.xcworkspace
profile
.idea/
# Pods – for those of you who use CocoaPods
Pods

[/code]

 

Let me know if i have missed anything here.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.