如何在 Xcode 6/7/8 中的 Debug 和 Release 版本之间切换? [英] How do I toggle between Debug and Release builds in Xcode 6 / 7 / 8?

查看:30
本文介绍了如何在 Xcode 6/7/8 中的 Debug 和 Release 版本之间切换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让 Xcode 在发布模式下构建 OS X 应用程序?我似乎只能找到早期版本的说明,并且没有任何屏幕截图匹配.当我将发布"放入帮助菜单的搜索中时,我什么也没看到.

How do I get Xcode to build an OS X app in release mode? I can only seem to find instructions for earlier versions and none of the screenshots match. I didn't see anything when I put "release" into the help menu's search.

推荐答案

在 Xcode 6 - 10 中:

In Xcode 6 - 10:

选择产品 -> 方案 -> 编辑方案.更改 Info 选项卡下的 Build Configuration.

Choose Product -> Scheme -> Edit Scheme. Change the Build Configuration under the Info tab.

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

Shortcut: hold Alt and click the run button .

这篇关于如何在 Xcode 6/7/8 中的 Debug 和 Release 版本之间切换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆