• 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: Moving Xcode Projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Moving Xcode Projects (From: Neil <email@hidden>)
 >Re: Moving Xcode Projects (From: Thomas Davie <email@hidden>)
 >Re: Moving Xcode Projects (From: Neil <email@hidden>)

  • Prev by Date: Re: iPhone SDK
  • Next by Date: Mixing ObjC and C++ STL on same ObjC source file
  • Previous by thread: Re: Moving Xcode Projects
  • Next by thread: Re: Moving Xcode Projects
  • Index(es):
    • Date
    • Thread