couchbaselabs / ToDoLite-iOS

To-Do list sample app for Couchbase Lite, native iOS version
85 stars 41 forks source link

Add *.xccheckout to .gitignore #1

Closed PaulCapestany closed 10 years ago

PaulCapestany commented 10 years ago

http://stackoverflow.com/questions/18340453/should-xccheckout-files-in-xcode5-be-ignored-under-vcs

snej commented 10 years ago

I'm still not sure this is supposed to be omitted from source control -- they explicitly didn't put it in the xcuserdata directory, rather xcshareddata, which implies it's supposed to be shared... But I'm not clear on what it's for.

PaulCapestany commented 10 years ago

Ahh. I kept running into super annoying issues wherein xccheckout would get altered on a freshly cloned repo as soon as I opened the project, forcing seemingly unnecessary commits right off the bat... and then having diffs from upstream remotes, yadda yadda. I'd added *.xccheckout to my .gitignore_global and that seemed to alleviate the issue (except for then having to commit the "removal" of other people's xccheckout files...)

Apple's docs seem to not say anything about xccheckout, though there are some posts on https://devforums.apple.com/ of other people who ran into the same issues I did. Hmm.

PaulCapestany commented 10 years ago

@snej I just noticed https://github.com/couchbase/couchbase-lite-ios/commit/d3432fb08adf14921cb1fd9ceb98174b50f921dc — I'd be curious to know if you found anything conclusive about handling xccheckout… or just got fed up with it as well ;)

snej commented 10 years ago

Couldn't find anything absolutely conclusive, but the consensus was that it's unnecessary. And annoying.