moved-aside folder and empty files in XCode

Discussion in 'Mac Programming' started by ohbrilliance, Jan 20, 2009.

  1. ohbrilliance macrumors 6502a


    May 15, 2007
    Melbourne, Australia
    I have been working on a Cocoa app, and found two files to be missing, a matching *h/*m pair that is the crux of my application.

    The files are marked in red in XCode, and and non-existent in my source directory. Instead, I've found skeleton files for these under ImageView-1.moved-aside/

    ImageView is the name of the application.

    Does anybody know what could have caused this? Both for the deletion of files and the creation of skeleton files in moved-aside? Most strangely, I backed up all files on December 24th, and last compiled the application on December 29th, yet the files are missing both from my backup (a tar file) and the original source.
  2. Brain2000 macrumors newbie

    Jan 30, 2010
    You most likely have renamed those files in XCode. If you rename a source file in XCode, the filename on disk still maintains the original filename. I find it to be a real pain that XCode doesn't rename the actual file. Search the directory for another file and you should find what you are looking for. Unless you really did delete it, even before your last backup, and never realized it...
  3. Sydde macrumors 68020


    Aug 17, 2009
    Odd. That has not been my experience. I mean, that would be really bad if you renamed a file and changed the #import(s) - the project would not compile.

Share This Page