Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 20, 2009, 10:00 AM   #1
ohbrilliance
macrumors 6502a
 
Join Date: May 2007
Location: Melbourne, Australia
moved-aside folder and empty files in XCode

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.
ohbrilliance is offline   0 Reply With Quote
Old Jan 30, 2010, 02:05 AM   #2
Brain2000
macrumors newbie
 
Join Date: Jan 2010
Quote:
Originally Posted by ohbrilliance View Post
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...
Brain2000 is offline   0 Reply With Quote
Old Jan 30, 2010, 12:29 PM   #3
Sydde
macrumors 68000
 
Sydde's Avatar
 
Join Date: Aug 2009
Quote:
Originally Posted by Brain2000 View Post
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.
__________________
You got to be a spirit. You can't be no ghost.
Sydde is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Xcode empty ViewController.xib Pades iPhone/iPad Programming 7 Aug 7, 2013 09:07 AM
Documents Folder Empty, but not BeardRaptus Mac Basics and Help 41 Jul 15, 2013 08:34 AM
Moved Desktop Folder has Disappeared dizzwold Mac Basics and Help 2 Jun 11, 2013 09:41 AM
Moved files to new user, now requires password to e.g. delete files poobear Mac Basics and Help 2 Feb 9, 2013 01:42 PM
Time Machine re-backups same files after moved to different folder on same drive! Mac Write OS X 5 Jan 24, 2013 03:08 PM

Forum Jump

All times are GMT -5. The time now is 09:02 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC