When I “Build for archive” in Xcode 4, where does the file go?

拜拜、爱过 提交于 2019-12-04 16:11:04

问题


When I "Build for archive" in Xcode 4, where does the file go? As in, where on my computer is the archived app saved?

Thanks


回答1:


It depends on your build location goes (see 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.




回答2:


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



来源:https://stackoverflow.com/questions/5444880/when-i-build-for-archive-in-xcode-4-where-does-the-file-go

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!