Re: Xcode 6 and git with a remote server - do we commit xccheckout?
Re: Xcode 6 and git with a remote server - do we commit xccheckout?
- Subject: Re: Xcode 6 and git with a remote server - do we commit xccheckout?
- From: Alex Zavatone <email@hidden>
- Date: Fri, 20 Mar 2015 12:59:25 -0400
On Mar 20, 2015, at 12:48 PM, Quincey Morris wrote: On Mar 20, 2015, at 09:17 , Alex Zavatone < email@hidden> wrote:
Should it be?
No, it should not be added to .gitignore. If you look here:
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden