如何找到我的 IOS 应用程序的存档文件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/40274739/
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
How do I find my IOS app's archive file?
提问by Roymunson
I have Mac OS Sierra. Unfortunately, I cannot upload my app due to a bug in Xcode 7.3.1 that makes it impossible to upload to iTunes Connect from Mac OS Sierra.
我有 Mac OS Sierra。不幸的是,由于 Xcode 7.3.1 中的错误导致无法从 Mac OS Sierra 上传到 iTunes Connect,我无法上传我的应用程序。
I have found a work around: Can I upload Xcode builds on macOS 10.12
我找到了一个解决方法:Can I upload Xcode builds on macOS 10.12
However, it says I need to find my app's "archive" file. I believe that is the same thing as my app's .ipa file.
但是,它说我需要找到我的应用程序的“存档”文件。我相信这与我的应用程序的 .ipa 文件相同。
Where would my app's .ipa file be located?
我的应用程序的 .ipa 文件位于何处?
回答by BJHStudios
They are stored here:
它们存储在这里:
~/Library/Developer/Xcode/Archives
In that folder you will find a bunch of folders by date.
在该文件夹中,您会按日期找到一堆文件夹。
Alternatively, open XCode, go to Window->Organizer. Right-click the archive you are looking for and select "Show in Finder"
或者,打开 XCode,转到 Window->Organizer。右键单击您要查找的档案,然后选择“在 Finder 中显示”
回答by Frankie
Using Window->Organizer, you can select your archive in the list and choose the export
option. Then export as save for iOS App Store Deployment
. Once the process is done it will allow you to save the exported file as a folder that contains your ready IPA file.
使用 Window->Organizer,您可以在列表中选择您的存档并选择export
选项。然后导出为save for iOS App Store Deployment
. 完成此过程后,您可以将导出的文件保存为包含准备好的 IPA 文件的文件夹。
回答by matt
However, it says I need to find my app's "archive" file. I believe that is the same thing as my app's .ipa file.
但是,它说我需要找到我的应用程序的“存档”文件。我相信这与我的应用程序的 .ipa 文件相同。
You need to unbelieve that. You can makean .ipafile from your app's archive, but you don't usually need to do that any more.
你需要不相信这一点。你可以做一个的.ipa从您的应用程序的存档文件,但通常不需要做任何更多。
Okay, so, step one: choose Product -> Archive. That builds the archive.
好的,第一步:选择“产品”->“存档”。这样就建立了档案。
Step two: There might be no step two, because the first step might take you to the built archive. But if not, choose Window -> Organizer -> Archives. There's your archive, and the upload process can be performed directly from this window.
第二步:可能没有第二步,因为第一步可能会带您进入构建的存档。但如果没有,请选择“窗口”->“管理器”->“档案”。这是您的档案,可以直接从此窗口执行上传过程。