Re: Xcode can't make a snapshot - a fix
Re: Xcode can't make a snapshot - a fix
- Subject: Re: Xcode can't make a snapshot - a fix
- From: Dave <email@hidden>
- Date: Sat, 25 Dec 2010 01:06:45 -0600
I just hit this XCode bug and, at least for my case, found out how to fix it. I am running XCode 3.2.4 64-bit on Snow Leopard 10.6.5 on a Mac Mini.
The error reported to me in the snapshot failed dialog was:
Failed to create the snapshot because one of the files could not be linked:
(Source: "/var/folders/sc/ [blah blah] /-Tmp-/XcodeSnapshots/ArchivedDirectories/Dave's Tasker/2010-12-24 23:21:51 -0600/iTunesServices.applescript
To fix this I simply removed file iTunesServices.applescript from my project and recreated it with the same text it had before.
Earlier I had locked that file in XCode by clicking on its lock icon in the editor pane, but it was no longer locked when I started having the snapshot failures. Perhaps XCode is not properly maintaining internal database info for such files?
Here's the precise steps I did to fix this:
1. Made a copy of that script file (iTunesServices.applescript) on the desktop
2. Asked XCode to remove that file from the project and not place it in the trash
3. Immediately, without recompiling anything, added a new file to the project with the same name
4. Opened the original file in TextWrangler (any text editor should do)
5. Replaced all the text in the new file by copying all the text from my saved copy.
6. Saved the updated new file in XCode
7. Did a build
8. Did a Snapshot for the project
Problem gone.
-- Dave
_______________________________________________
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