在 Xcode 中保存/导出整个项目

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4746557/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:07:13  来源:igfitidea点击:

Save / export the whole project in Xcode

xcode

提问by Csabi

Is there any way to export or save the whole project in xcode? Or I have to manually save the project containing folder? Thanks

有没有办法在 xcode 中导出或保存整个项目?或者我必须手动保存包含文件夹的项目?谢谢

回答by

I wrote a program and I want to write it further but I want to save this version.

我写了一个程序,我想进一步编写它,但我想保存这个版本。

You want Xcode's snapshotfacility.

您需要 Xcode 的快照功能。

回答by BinaryMisfit

Simply copy the whole project folder and rename it to whatever you want. The files are stored inside one big folder, so there should be no need to export it or even save as.

只需复制整个项目文件夹并将其重命名为您想要的任何名称。文件存储在一个大文件夹中,因此无需导出甚至另存为。

I do this often to make backups.

我经常这样做以进行备份。

Another alternative is to implement some sort of SCM system like Mercurialor SVNand then branching it or cloning the solution. This also gives you the ability to rollback etc if required.

另一种选择是实现某种 SCM 系统,如MercurialSVN,然后将其分支或克隆解决方案。如果需要,这也使您能够回滚等。