Re: Moving Xcode Projects
Re: Moving Xcode Projects
- Subject: Re: Moving Xcode Projects
- From: Philip Aker <email@hidden>
- Date: Fri, 12 Sep 2008 01:11:45 -0700
On Sep 12, 2008, at 12:16 AM, Neil wrote:
I wasn't talking about re-factoring the code. As I understand it,
if I want to rename the project itself, I have to dive into a pile
of configuration files and apply the changes manually in a bunch of
places. That's what I wish I didn't have to do (I'm likely a little
too indecisive about my names...).
What you need to do immediately after a project is created, is
substitute ${PROJECT_NAME} for the actual name of your project in all
the places where it is used. And like Thomas Davie mentioned: "All the
references in your project *should* be relative.".
What I've done, and this is really handy if you need to use the notion
of an absolute path relative to a volume but have it easily
changeable, is use a master xcconfig file included from all projects
which defines SRCVOL. $SRCVOL is the volume of SRCROOT. In my case,
this changes frequently. The advantage is that I can transfer all my
projects to another volume and still use the concept of absolute paths
by changing only the name of the volume that SRCVOL is assigned.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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