Re: How to rename project.
Re: How to rename project.
- Subject: Re: How to rename project.
- From: "Ken G. Brown" <email@hidden>
- Date: Sat, 31 May 2008 10:28:12 -0600
At 1:19 AM -0700 5/31/08, Chris Hanson wrote:
>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
Thx for the tips everyone.
Ok, I tried this.
I remain with many occurrences of the old name in the project.xcodeproj package files:
2 copies found
user.mode2v3
40 copies found
user.pbxuser
12 copies found
project.pbx.proj
I've also tried find and replace of all the names to the new name with BBEdit and the project appears to build ok, but I'm nervous that I've blown away something important.
What sort of info is stored in each of the package files? Is it safe to delete some of them?
What effect would that have?
Thx for any insight,
Ken G. Brown
_______________________________________________
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