• 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: How to rename project.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to rename project.


  • Subject: Re: How to rename project.
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 31 May 2008 01:19:37 -0700

On May 30, 2008, at 6:45 AM, Ken G. Brown wrote:


What's the simplest way to rename a project including everything within having that name like its target and executables, etc.

Remember that a project is effectively a container for targets. The name of a project doesn't have to necessarily be the same as the name of any of the targets within it. In fact, the name of a project, the name of a target, and the name of the product built by that target don't need to be related at all.


For example, you might have a project that builds an application and a framework structured like this:

  Foo.xcodeproj
    Products
      Foo.app (generated by target "Application")
      Foo.framework (generated by target "Framework")
    Targets
      Application
      Framework
    Executables
      Foo.app (generated by target "Application")

This kind of arrangement is much more common than you might think if you're coming from other environments where projects are much more like

So really, what you want to do is rename the project, and also rename a target within it, and also rename the product built by that target (which will also rename the generated executable and build product reference).

  -- Chris

_______________________________________________
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


  • Follow-Ups:
    • Re: How to rename project.
      • From: "Ken G. Brown" <email@hidden>
References: 
 >How to rename project. (From: "Ken G. Brown" <email@hidden>)

  • Prev by Date: Re: Xcode attempting to index framework header files from old installation location... suggestions on how to fix?
  • Next by Date: Re: Xcode attempting to index framework header files from old installation location... suggestions on how to fix?
  • Previous by thread: Re: How to rename project.
  • Next by thread: Re: How to rename project.
  • Index(es):
    • Date
    • Thread