Re: Refactoring halted due to supposed missing file
Re: Refactoring halted due to supposed missing file
- Subject: Re: Refactoring halted due to supposed missing file
- From: "Jeffrey J. Early" <email@hidden>
- Date: Thu, 15 Jan 2009 21:59:01 -0800
Perfect! Thank you, that did the trick.
Jeffrey
On Jan 15, 2009, at 9:27 PM, Andrew Pontious wrote:
Re-index your project.
Main menu bar -> Project -> Edit Project Settings... -> General tab -
> "Reindex" button at the bottom.
It's always a good first step if refactoring is doing anything weird.
-- Andrew
On Jan 15, 2009, at 2:18 PM, Jeffrey J. Early wrote:
About a month ago I decided to take my MainMenu.nib file and
convert it into a .xib file. I deleted all .nib references in my
project file and everything has been working as expected, except
for refactoring.
At first, I hadn't actually deleted the .nib file, only references
to it. Any refactoring, for some reason, still refactored the
old .nib file as well as the new .xib file.
However, I have since deleted the .nib file and now I can't
refactor at all! Hitting 'Preview' in the Refactoring window causes
it to try to search the old .nib file, which being gone, causes
Xcode to post a missing file error message and then close the
Refactoring window.
I have tried many ways to work around this problem, but haven't
come up with anything. I'm hoping someone might know where this
reference to the old nib file is stored?
- I parsed the project.pbxproj file with a text editor, and there
are definitely no references to the old file.
- I removed the current .xib file and all references to anything
MainMenu in the pbxproj and the info.plist.
- I deleted all the user files associated with the project.
- I trashed the xcode preferences in ~/Library/Preferences
- I cleaned and rebuilt all my code (thinking maybe it was
generating something at build time).
Any ideas? How can I refactor again!?
Thanks for any help,
Jeffrey
_______________________________________________
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
_______________________________________________
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