当我在Xcode 4中“Build for archive”时,文件在哪里?

时间:2021-09-17 08:10:30

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中“Build for archive”时,文件在哪里?就像在我的计算机上保存存档的应用程序一样?

Thanks

谢谢

2 个解决方案

#1


40  

It depends on your build location goes (see Xcode > Preferences ... > Locations).

这取决于您的构建位置(请参阅Xcode>首选项...>位置)。

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".

请注意,“Build for Archive”不会将您的工作存档在您输入的“存档位置”中...它只是将其构建为存档(因此使用相同的前/后脚本运行,右侧配置,并在您的正常建筑位置)。要实际存档您的工作,您需要选择普通的旧“存档”而不是“构建存档”。

Hope this helps.

希望这可以帮助。

#2


5  

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中显示”。

#1


40  

It depends on your build location goes (see Xcode > Preferences ... > Locations).

这取决于您的构建位置(请参阅Xcode>首选项...>位置)。

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".

请注意,“Build for Archive”不会将您的工作存档在您输入的“存档位置”中...它只是将其构建为存档(因此使用相同的前/后脚本运行,右侧配置,并在您的正常建筑位置)。要实际存档您的工作,您需要选择普通的旧“存档”而不是“构建存档”。

Hope this helps.

希望这可以帮助。

#2


5  

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中显示”。