• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Snapshot failed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Snapshot failed
      • From: Andreas Grosam <email@hidden>
References: 
 >Snapshot failed (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: private dylib
  • Next by Date: Re: private dylib
  • Previous by thread: Snapshot failed
  • Next by thread: Re: Snapshot failed
  • Index(es):
    • Date
    • Thread