如何在Xcode 6/7/8中调试和发布版本之间切换?

时间:2015-01-21 04:38:01

标签: xcode xcode8 xcode7 xcode9 xcode10

如何让Xcode在发布模式下构建OS X应用程序?我似乎只能找到早期版本的说明,没有任何截图匹配。当我放置"发布"我没有看到任何东西。进入帮助菜单的搜索。

3 个答案:

答案 0 :(得分:173)

在Xcode 6 - 10中:

选择产品 - > 计划 - > 修改计划。更改Build Configuration标签下的Info

快捷方式:按住 Alt 并点击运行按钮


enter image description here

enter image description here

答案 1 :(得分:10)

The easiest way with a project that has the default set up for schemes is just to do Product -> Build For -> Profiling.

答案 2 :(得分:7)

如果要生成发布版本,请选择“产品” - >存档。这是一个发布版本。现在您可以导出为Mac OS X应用程序。

相关问题