• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: source control for the XCode project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: source control for the XCode project


  • Subject: Re: source control for the XCode project
  • From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
  • Date: Thu, 4 Nov 2004 17:33:13 -0500
  • Thread-topic: source control for the XCode project

> Message: 2
> Date: Thu, 04 Nov 2004 10:22:12 -0800
> From: Travis Heppe <email@hidden>
> Subject: Re: source control for the XCode project
> Cc: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
>
> > On Nov 2, 2004, at 5:40 PM, Travis Heppe wrote:
> >
> >> What exactly from the XCode project should be checked into source
> >> control.
> >
> > Nick Zitzmann wrote:
> > Everything, except for:
> > * .DS_Store files
> > * Everything in the build directory
> > * .mode1 and .pbxuser files (you can add them if you want, but it's
> > not
> > necessary)
> > * Backup nib bundles (it won't hurt to add them, but IMHO they're a
> > waste of space)
> >
> > Nick Zitzmann
> > <http://seiryu.home.comcast.net/>
> > S/MIME signature available upon request
> >
>
> wouldn't it make more sense to have the default locations of
> some of this stuff
> be in the myproject.xcode/ directory?   Even better would be
> if they could be
> left out entirely and regenerated after the checkout.   Our
> project is (very)
> cross platform, and xcode is forcing (or at least
> encouraging) us to litter in
> our source directory.  If someone comes along and tries to
> build from our source
> on, for example, solaris, they won't have any way of knowing whether
> English.lproj is relevant or not.

I'm cross-developing using the mac as the host; all of my code is C99
compliant, and I've been having pretty good luck just putting the
sources under version control.  OTOH, if you add in new sources, and you
have not put the project stuff under source control, then when you try
to roll back to an older version, you're going to have large numbers of
errors (file not found, some random settings you no longer remember
changed, etc.)

Here is my guess on what you need:
* your source files, resources, etc.
* Inside of the .xcode bundle -
	* your project.pbxproj file
	* your <username>.pbxuser file

I'm guessing you don't need the others because IIRC I've seen on this
list that when you run into build problems, the two things to try are 1)
throw away your build directory and 2) get rid of your .mode1 file
(which is in the .xcode bundle).  I've never tried getting rid of the
.pbxuser file, so I don't know what happens with it.

As for relavancy, I create a special top level directory that is
separate called BuildSystems.  Everything that an IDE might need ends up
there in appropriately named subdirectories ("OS X", "Linux", etc.)
Everyone else knows that they can safely ignore the build system files
when compiling.  So far, this has worked pretty well for me.  YMMV.

Good luck,
Cem Karan
 _______________________________________________
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

  • Prev by Date: Re: source control for the XCode project
  • Next by Date: RE: resources
  • Previous by thread: Re: source control for the XCode project
  • Next by thread: ZeroLink unknown symbol __ZTv0_n12_NSoD0Ev
  • Index(es):
    • Date
    • Thread