Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to rename project.



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >How to rename project. (From: "Ken G. Brown" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.