Thanks, I think that is what I have done in the past. (I am embarrassed to admit this has happened to me several times before, but I never seem to remember what to do about it.)
What I did yesterday was to re-add the file to the project, go to the Finder to make a copy, and then remove the file from the project again, this time telling Xcode to remove the file and the references. That did it.
So, if any Apple guys are reading this, I think you should examine the difference between "remove references only" and "remove references AND delete file".
Back on track, P On Jan 23, 2008, at 7:04 AM, Etienne Samson wrote:
Le 22 janv. 08 à 22:13, Paul Archibald a écrit : Comrades,
I have been building a Java app with Xcode for months. A couple of days ago I added a new file to the project, and worked on it a bit, and then today decided to remove it. So, I control-clicked on it in the project window, and told Xcode to "remove references" (so I could stash the file myself, for future study.)
Now my project won't build, and I get this error message:
Missing file or directory: /Users/paularchibald/Projects/jmadonna/src/tzgraph/tzDatasetManager.java
I tried cleaning, rebuilding restarting Xcode, removing the pbxuser and mode2 files from the project bundle. No dice. I see no references to my file anywhere in the project source, I have searched through all the target and build settings, and I don't know why Xcode is still looking for this file.
I think that it's caused by CodeSense (or whatever the thing indexing your functions/types/etc... is named) keeping references to files you have deleted, thus triggering this warning in Console each time it reindex. I found that forcing the project to reindex (somewhere under project settings, IIRC the first tab) will cure the bug.
HTH !
|