Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ohbrilliance

macrumors 65816
Original poster
May 15, 2007
1,013
364
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.
 
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.

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...
 
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...

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.