Re: Moving a project
Re: Moving a project
- Subject: Re: Moving a project
- From: Greg Guerin <email@hidden>
- Date: Fri, 28 Jul 2006 16:21:55 -0700
Mark Wagner wrote:
>What I have: about two dozen Xcode projects in subdirectories of
>"DEVELOPMENT xcode". I wish to rename this to the more sensible
>"Development-xcode". However, a simple rename leaves me with about
>two dozen Xcode projects full of source files with red names,
>indicating that the files are not found. Is there an easy way to fix
>this?
Before changing the name of the top directory, change each project to use
project-relative source files.
I recommend doing this on each project, one at a time, doing a clean full
build to confirm the project still works, then doing it on the next
project. Then change the name of the top dir, and confirm clean full
builds again. And if you possibly can, do a backup first.
Within each project:
1) Click the top-level source/project item in the left-hand tree.
2) Observe that all the files appear in the right-hand list/table.
3) Select or multi-select the source files.
4) Choose Get Info from the File menu. A window appears.
5) Click the General tab.
6) Notice the popup choice labeled "Path Type" (it may say "Mixed")
7) Click the popup and choose "Relative to Project".
8) Repeat as needed for relevant source files.
If your source is arranged in groups under the top-level project item, you
can select those in the tree and then select the source files in the table
and "Get Info" them. This will avoid doing things like trying to refer to
system frameworks as project relative.
I then recommend using the "Project Relative" option when source is added
to projects in the future. It's a lot easier to set it beforehand rather
than after.
-- GG
_______________________________________________
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