Dblock247
Dblock247

Reputation: 6765

Xcode .git ignore

My question is should you ignore the debugger folder and the Breakpoints_v2.xcbkptlist file. Or should the files be committed as well.

Is there a standard Xcode 5 git ignore file like the one listed here but for Xcode 5. I like this one because its comments explains every ignore file in detail for people who aren't as advanced like myself.

Upvotes: 4

Views: 6804

Answers (2)

Nikos M.
Nikos M.

Reputation: 13783

Yes. Gitignore files for Xcode 5 project should look like this:

# Xcode
.DS_Store
#build file
build/
#personal settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
#xcode state
*.perspectivev3
!default.perspectivev3
*.xcworkspace
!default.xcworkspace
xcuserdata
profile
*.moved-aside
DerivedData
.idea/

Upvotes: 5

Keith Smiley
Keith Smiley

Reputation: 63994

If there is a large debug/build folder in the same directory I would ignore that because it should just be full of one time build files that you definitely don't need to keep around. I assume that Breakpoints file stores all information on how you've used breakpoints in the project which I would definitely commit.

Upvotes: 3

Related Questions