Re: Help! Xcode deleted 1.5 years of work
Re: Help! Xcode deleted 1.5 years of work
- Subject: Re: Help! Xcode deleted 1.5 years of work
- From: Rainer Brockerhoff <email@hidden>
- Date: Sun, 11 Nov 2007 15:01:15 -0200
At 08:00 -0800 11/11/2007, email@hidden wrote:
>From: Ken Tozier <email@hidden>
>Date: Sun, 11 Nov 2007 10:59:20 -0500
>Message-ID: <email@hidden>
>
>I have a project I've been working on for a year and a half and today, I was building temporary paths inside a class's loop which for some reason failed and instead gave me the source code directory for the entire project. At the end of each iteration, the object the path points to is deleted. The built project is placed in a subdirectory of the applications folder so I have no clue how a failed path constructed at runtime could possibly point to my source directory which is in a completely different part of the disk. The app wasn't running inside Xcode in debug mode or anything. It was running in standalone mode completely outside the Xcode environment. It makes no sense.
Do you have blanks inside your final folder path, or in filenames? I've lost a good part of my home directory once (a few years ago, only time I ever lost anything serious) by building an open-source project which had improper quoting for its paths when removing .svn files.
It's easier to adopt a non-blank-containing-folder-name policy than to remember to scan every single script for quoting errors (which can often be extremely obscure).
>Are there any Tiger disk utilities that allow for raw disk scanning for files deleted with NSFileManager's removeFileAtPath?
Norton Disk Editor was great for that, but it's been dead for many years; don't know offhand of a newer utility which does that.
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden