On Mar 20, 2015, at 12:48 PM, Quincey Morris wrote: > On Mar 20, 2015, at 09:17 , Alex Zavatone <[email protected]> wrote: >> >> Should it be? > > No, it should not be added to .gitignore. If you look here: > > > http://stackoverflow.com/questions/18340453/should-xccheckout-files-in-xcode5-be-ignored-under-vcs > > you’ll see that Chris Hanson answered the question authoritatively. > > In general, you should commit everything that’s in xcshareddata, because it’s > … shared. In general, you don’t need to commit anything in xcuserdata, except > in a couple of special situations: (a) You want to have your personal > settings backed up in the repository, or (b) you’re working on the project on > several Macs and you want to use source control to keep your personal project > settings in sync across the Macs. Of course, doing that means you might pull > older settings that wipe out your current settings, which is why I wouldn’t > recommend this as a regular practice. > >> I've reviewed the WWDC videos on this, but what's the expected process here? > > It’s not really documented anywhere AFAIK, but xccheckout contains the > information that allows Xcode to clone related projects from other > repositories automatically, when you clone the main project. That’s why > xcshareddata/xccheckout needs to be in the repository. The WWDC video shows > this working, but doesn’t explain what in the repository makes it work, so > it’s a bit confusing.
Wow. That's kinda important. Thanks a million for explaining this. It's hard reading the docs for how things are supposed to work, but not knowing why they work when something goes wrong.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
