如何使用Xcode 7创建快照?

时间:2021-02-28 06:53:04

I can create snapshot in Xcode 6 this way as shown in below image:

我可以用Xcode 6创建快照,如下图所示:

如何使用Xcode 7创建快照?

But in Xcode 7 its not available and you can see that in below Image:

但是在Xcode 7中是不可用的你可以在下图中看到:

如何使用Xcode 7创建快照?

And control-command-S also doesn't work.

控制命令也不起作用。

Can anybody tell me now how can I create a snapshot using Xcode 7?

有人能告诉我如何使用Xcode 7创建快照吗?

3 个解决方案

#1


17  

I opened a bug regarding this. According to Apple, "Snapshots have been removed in Xcode 7. You can export existing snapshots in Xcode 7 but not create or restore them."

我对此打开了一个漏洞。苹果公司表示,“Xcode 7已经删除了快照。您可以在Xcode 7中导出现有快照,但不能创建或恢复它们。

Hopefully they'll restore them in a future release, but for now I recommend using git from the Source Control menu as suggested by Tim.

希望它们在将来的版本中恢复它们,但是现在我推荐使用Tim建议的从源代码控制菜单中选择git。

#2


1  

there isn't snapshot in xcode 7, to resolve this problem, use xcode 6 and 7, xcode 6 to create and restore snapshot and after you can open your project with xcode 7.

xcode 7中没有快照,要解决这个问题,可以使用xcode 6和7,xcode 6来创建和恢复快照,然后用xcode 7打开项目。

#3


0  

For posterity - in the menu at the top select "SourceControl" then "Commit...", add a comment and "Commit X Files" then after you make additional changes and want to see the changes select "SourceControl" and "Commit" and select the file on the left.

为子孙后代-在菜单的顶部选择“SourceControl”然后“提交…”,然后添加一个注释和“提交X文件”,然后在进行其他更改并希望看到更改后,选择“SourceControl”和“提交”并选择左边的文件。

All explained nicely in : http://www.raywenderlich.com/51351/how-to-use-git-source-control-with-xcode-in-ios-7

在http://www.raywenderlich.com/51351/how-to-use-git-source-control-with-xcode- ios-7中有很好的解释

#1


17  

I opened a bug regarding this. According to Apple, "Snapshots have been removed in Xcode 7. You can export existing snapshots in Xcode 7 but not create or restore them."

我对此打开了一个漏洞。苹果公司表示,“Xcode 7已经删除了快照。您可以在Xcode 7中导出现有快照,但不能创建或恢复它们。

Hopefully they'll restore them in a future release, but for now I recommend using git from the Source Control menu as suggested by Tim.

希望它们在将来的版本中恢复它们,但是现在我推荐使用Tim建议的从源代码控制菜单中选择git。

#2


1  

there isn't snapshot in xcode 7, to resolve this problem, use xcode 6 and 7, xcode 6 to create and restore snapshot and after you can open your project with xcode 7.

xcode 7中没有快照,要解决这个问题,可以使用xcode 6和7,xcode 6来创建和恢复快照,然后用xcode 7打开项目。

#3


0  

For posterity - in the menu at the top select "SourceControl" then "Commit...", add a comment and "Commit X Files" then after you make additional changes and want to see the changes select "SourceControl" and "Commit" and select the file on the left.

为子孙后代-在菜单的顶部选择“SourceControl”然后“提交…”,然后添加一个注释和“提交X文件”,然后在进行其他更改并希望看到更改后,选择“SourceControl”和“提交”并选择左边的文件。

All explained nicely in : http://www.raywenderlich.com/51351/how-to-use-git-source-control-with-xcode-in-ios-7

在http://www.raywenderlich.com/51351/how-to-use-git-source-control-with-xcode- ios-7中有很好的解释