A typical .gitignore file for iOS Application Developers

In my previous article i gave you instruction about .gitignore 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.

 

# 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

 

Let me know if i have missed anything here.

About Zumry

Zumry Mohamed

Self Taught iOS & Android Mobile Application Developer.

Article written by zumrywahid

Self Taught iOS & Android Mobile Application Developer.

Be the first to comment

Leave a Reply

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