English 中文(简体)
从Xcode napshot中人工收回档案
原标题:Manually recover files from Xcode snapshot

Is it possible to manually recover files from an Xcode (4.3.2) snapshot? Xcode crashes whenever I try to restore a snapshot, so I guess the files are corrupt somehow. I cannot find the snapshot image referenced elsewhere: ~/Library/Application Support/Developer/Shared/SnapshotRepository.sparseimage

然而,我发现一份以Xecsnapshot为终结的文件。

利用Xcsnapshots档案收回项目档案吗? 如果是,如何? 我不能对此表示任何看法。

最佳回答

你们是否能够出口shot? 出口shot类似于恢复。 主要的区别是,出口项目速率恢复到除项目目前地点以外的倍数。

输出一个小幅,向组织者开放,并点击组织者的顶部项目图。 从组织者的左边选定你的项目。 选取一个小幅。 Click the Export Snapshot button to export the snapshot.

Xcode 4 uses the .xcsnapshots file to store snapshots for a project. When you select a project from the Organizer, the Organizer shows the location of that project s snapshots. Next to the location is a small button with an arrow. Click the button to show the .xcsnapshots file in the Finder. Select the .xcsnapshots file in the Finder, right-click, and choose Show Package Contents to show the contents of the .xcsnapshots file. From what I can see the .xcsnapshots file is a git repository. I didn t see any way to access an individual file from the .xcsnapshots file using the Finder, but you may be able to locate and recover a file using git from the command line.

问题回答

暂无回答




相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签