Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 813
Dblock247 Avatar asked Oct 19 '25 01:10

Dblock247


2 Answers

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/
like image 112
Nikos M. Avatar answered Oct 21 '25 14:10

Nikos M.


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.

like image 37
Keith Smiley Avatar answered Oct 21 '25 15:10

Keith Smiley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!