title: Xcode 4 - renamed/deleted file, yet get 'file not found' error
body: <p>I just used Xcode's refactoring tool to rename a core data class from Player to Person.  After fixing about 100 errors resulting from using dot notation that Xcode missed in the rename, I got to the last one:</p>
  
  <p>Player.m - Lexical or Preprocessor issue - 'Person.h' not found</p>
  
  <p>Player.m no longer exists in the project, and shows up as deleted (empty icon) in the error.  Obviously, since I got rid of it, I don't want it to exist anymore!</p>
  
  <p>To fix this, I have tried re-adding an old copy of Player.h and Player.m, and also cleaning.  I have checked the Build Phases->Compile Sources section, and Person.m is there, Player.m is not.  Person.h does in fact exist.</p>
  
  <p>Not sure if it matters, but I am using mogenerator to generate my core data classes.  Also, this is my third xcdatamodel version.  Versions 1 and 2 used Player.h.</p>
  
  <p>Here is a screenshot of the error:
  <img src="https://i.stack.imgur.com/TRgET.png" alt="Player.m - Lexical or Preprocessor issue - &#39;Person.h&#39; not found"></p>