Re: Refactor + moved XIB file
Re: Refactor + moved XIB file
- Subject: Re: Refactor + moved XIB file
- From: Andrew Pontious <email@hidden>
- Date: Sun, 13 Sep 2009 20:43:58 -0700
On Sep 13, 2009, at 5:29 PM, Quincey Morris wrote:
On Sep 13, 2009, at 16:46, Andrew Pontious wrote:
That's because this is an issue with the Xcode index, which is
located in your build folder but is not affected by a clean build.
Currently, moving things the way you're doing doesn't tell the
index that the nib has moved. If you had reindexed (Project -> Edit
Project Settings -> General tab, Reindex button at the bottom) you
would've gotten the same result.
If refactoring has problems like this, reindexing should be your
first to let you continue with your work.
Thanks for the feedback. Is there a better way to accomplish moving
the files around, then?
It might work better if you deleted the file references from the first
place, and added them again to the second. But (1) don't take that to
mean that's the "right" way. It's a bug that Xcode doesn't reindex
things after you modify the Resource group path. And (2) it still
might not work, I haven't tested it. When in doubt reindex, and you
should be fine.
-- Andrew
On Sep 10, 2009, at 10:49 PM, Quincey Morris wrote:
I'm a bit confused. I created a brand-new document-based project in
Xcode 3.2, and then moved some files around, including:
1. I made a new folder within the project folder.
2. I moved English.lproj inside that folder.
3. I fixed up the Xcode file references by adjusting the 'Resources'
group path to point to the new folder.
And I did a similar thing for the source files MyDocument.m/.h too.
_______________________________________________
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