Re: Snapshot failed
Re: Snapshot failed
- Subject: Re: Snapshot failed
- From: Chris Espinosa <email@hidden>
- Date: Wed, 18 Mar 2009 10:00:13 -0700
On Mar 18, 2009, at 3:33 AM, Andreas Grosam wrote:
Immediately trying to revert a snapshot after it has been created as
a side effect of re-factoring a class name reveals this error:
"Unable to change file attributes for “/var/folders/cY/
cYhZ8jEOH5im12e2PIo3ZE+++TI/-Tmp-/XcodeSnapshots/ArchivedDirectories/
TabBarX/2009-03-18 11:28:11 +0100/Resources/en.lproj/MainWindow.xib”.
Trying to re-refactor the previous changes, which in turn attempts
create another Snapshot, fails as well.
Any help?
This is a bug in some older versions of Xcode. What version do you
happen to be using?
Once this happens, the snapshot for that project is difficult from
that point on, and you often have to remove it and create a new
snapshot.
You can recover the files in the snapshot manually by navigating to
the given path in the Finder or Terminal and copying the file. I
recommend using FileCompare or opendiff to make sure you have the
changes you want:
opendiff “/var/folders/cY/cYhZ8jEOH5im12e2PIo3ZE+++TI/-Tmp-/
XcodeSnapshots/ArchivedDirectories/TabBarX/2009-03-18 11:28:11 +0100/
Resources/en.lproj/MainWindow.xib” "./Resources.en.lproj.MainWindow.xib"
Chris _______________________________________________
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