我可以在 Xcode 上重新打开 .xcarchive 吗? [英] Can I re-open .xcarchive on Xcode?

查看:28
本文介绍了我可以在 Xcode 上重新打开 .xcarchive 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在 Xcode 上重新打开 .xcarchive 文件?

Is it possible to re-open an .xcarchive file on Xcode?

我知道这并不常见,但我想打开一个与提交到 App Store 时完全一样的项目.我没有那个确切版本的备份,所以打开存档副本真的很棒!

I know this is not common, but I would like to open a project exactly as it was submitted to the App Store. I don't have back up of that exact build, so it would be really great to open the archive copy!

在你问我为什么不直接从商店下载它之前,我必须说这个版本已经被批准并且正在等待我的发布.:)

Before you ask why don't I just download it from the store, I must say this build has been approved and is just pending on my release. :)

谢谢!

推荐答案

xcarchive 是一个文件夹,其中包含一个(已编译的)应用程序包,一个 dSYM(调试文件)对于应用程序,以及包含有关存档的元数据(例如应用程序的名称和存档的创建日期)的 Info.plist.您可以通过在 Finder 中按住 Control 单击或右键单击它并选择显示包内容"来查看 `xcarchive 的内部.

A xcarchive is a folder containing a (compiled) app bundle, a dSYM (debug file) for the app, and an Info.plist containing metadata about the archive (such as the name of the app and the date the archive was created). You can look inside a `xcarchive by control-clicking or right-clicking it in the Finder and choosing "Show Package Contents".

存档不包含您应用的源代码(除非您在项目配置中犯了严重错误).

The archive does not contain your app's source code (unless you have made a serious mistake in your project configuration).

您应该使用像 git 这样的版本跟踪系统来存储您的源代码.当您创建用于分发的 xcarchive 时,您应该在构建系统中标记源代码的当前版本,以便您可以轻松提取用于构建该存档的源代码.

You should use a version tracking system like git to store your source code. When you create an xcarchive for distribution, you should tag the current version of the source code in your build system, so that you can easily extract the source code used to build that archive.

这篇关于我可以在 Xcode 上重新打开 .xcarchive 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆