ios 当我在 Xcode 4 中“为存档构建”时,文件去哪里了?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5444880/
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
When I "Build for archive" in Xcode 4, where does the file go?
提问by Darren Findlay
When I "Build for archive" in Xcode 4, where does the file go? As in, where on my computer is the archived app saved?
当我在 Xcode 4 中“为存档构建”时,文件去哪里了?例如,存档的应用程序保存在我的计算机上的哪个位置?
Thanks
谢谢
回答by pho0
It depends on your build location goes (see Xcode > Preferences ... > Locations).
这取决于您的构建位置(请参阅 Xcode > Preferences ... > Locations)。
Note that "Build for Archive" doesn't archive your work in the "Archive Location" you enter there ... it just builds it as if it was being archived (so with the same pre/post-scripts being run, the right Configuration, and in your normal building location). To actually archive your work, you need to select plain old "Archive" instead of "Build for Archive".
请注意,“为存档构建”不会在您输入的“存档位置”中存档您的工作……它只是将其构建为好像已存档(因此运行相同的前/后脚本,正确的配置,并在您的正常建筑位置)。要真正归档您的工作,您需要选择普通的“归档”而不是“为归档而构建”。
Hope this helps.
希望这可以帮助。
回答by Graham Perks
For fast direct access to an individual archive, in Xcode's Organizer window, go to the Archives tab, right-click an archive, then "Show in Finder".
要快速直接访问单个存档,请在 Xcode 的管理器窗口中,转到存档选项卡,右键单击存档,然后单击“在 Finder 中显示”。